Added deployed backend url in frontend
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import axios from "axios";
|
||||
|
||||
const axiosInstance = axios.create({
|
||||
baseURL: "http://localhost:3000/api/v1",
|
||||
// baseURL: `http://localhost:3000/api/v1`,
|
||||
baseURL: `https://livepoll-anjx.onrender.com/api/v1`,
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
|
||||
Reference in New Issue
Block a user