extra baseURL removed
This commit is contained in:
@@ -16,6 +16,7 @@ import axios from 'axios';
|
||||
axios.defaults.baseURL = import.meta.env.VITE_BACKEND_URL; //'http://localhost:8082'
|
||||
console.log(import.meta.env.VITE_BACKEND_URL);
|
||||
|
||||
|
||||
import { createAuth } from '@websanova/vue-auth';
|
||||
import driverAuthBearer from '@websanova/vue-auth/dist/drivers/auth/bearer.esm.js';
|
||||
import driverHttpAxios from '@websanova/vue-auth/dist/drivers/http/axios.1.x.esm.js';
|
||||
@@ -41,10 +42,6 @@ var auth = createAuth({
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
axios.defaults.baseURL ='http://localhost:8082' // import.meta.env.VITE_BACKEND_URL;
|
||||
console.log(import.meta.env.VITE_BACKEND_URL);
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
app.use(router);
|
||||
|
||||
Reference in New Issue
Block a user