Added create poll in frontend ✔️

This commit is contained in:
Manik Maity
2024-11-08 22:12:16 +05:30
parent af25c4b5fc
commit b84a031770
6 changed files with 255 additions and 54 deletions

View File

@@ -2,6 +2,10 @@ import axios from "axios";
const axiosInstance = axios.create({
baseURL: "http://localhost:3000/api/v1",
withCredentials: true,
headers: {
"Content-Type": "application/json",
},
});
export default axiosInstance;