diff --git a/.env.dev b/.env.dev index 5702020..eb6bd0f 100644 --- a/.env.dev +++ b/.env.dev @@ -1,6 +1,6 @@ VITE_DOMAIN = https://192.168.0.251:5173/ # VITE_LOGIN_URL = http://localhost:10325/ms/ -# VITE_FILE_URL = http://localhost:10325/ms/ +VITE_SERVER = httpS://192.168.0.251:10325/ VITE_API_URL = https://192.168.0.251:10325/api/ VITE_TEST_URL = https://192.168.0.251:10325/test/ VITE_KAKAO_MAP_KEY=6f092e8f45ee81186bb6d8408f66a492 \ No newline at end of file diff --git a/.env.mine b/.env.mine index 6f5a98c..07aa984 100644 --- a/.env.mine +++ b/.env.mine @@ -1,6 +1,6 @@ VITE_DOMAIN = http://localhost:5173/ # VITE_LOGIN_URL = http://localhost:10325/ms/ -# VITE_FILE_URL = http://localhost:10325/ms/ +VITE_SERVER = http://localhost:10325/ VITE_API_URL = http://localhost:10325/api/ VITE_TEST_URL = http://localhost:10325/test/ VITE_KAKAO_MAP_KEY=6f092e8f45ee81186bb6d8408f66a492 \ No newline at end of file diff --git a/src/layouts/TheTop.vue b/src/layouts/TheTop.vue index 9bd7296..ada3701 100644 --- a/src/layouts/TheTop.vue +++ b/src/layouts/TheTop.vue @@ -241,7 +241,7 @@ const user = ref(null); //const baseUrl = $api.defaults.baseURL.replace(/api\/$/, ''); - const baseUrl = import.meta.env.BASE_URL; + const baseUrl = import.meta.env.VITE_SERVER; const authStore = useAuthStore(); const userStore = useUserInfoStore();