Refactor axios base URL configuration
This commit is contained in:
@@ -52,7 +52,7 @@ var auth = createAuth({
|
||||
}
|
||||
});
|
||||
|
||||
axios.defaults.baseURL = 'http://localhost:8081'//import.meta.env.VITE_BACKEND_URL;//
|
||||
axios.defaults.baseURL = import.meta.env.VITE_BACKEND_URL;//'http://localhost:8081'
|
||||
console.log(import.meta.env.VITE_BACKEND_URL);
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
Reference in New Issue
Block a user