diff --git a/.env.development b/.env.development index fcd6403..ad49734 100644 --- a/.env.development +++ b/.env.development @@ -1 +1,3 @@ -VITE_API_BASE_URL= '' +VITE_API_URL= '' + + \ No newline at end of file diff --git a/config/vite.config.dev.ts b/config/vite.config.dev.ts index 5e92013..53c2923 100644 --- a/config/vite.config.dev.ts +++ b/config/vite.config.dev.ts @@ -1,7 +1,7 @@ import { mergeConfig } from 'vite'; import eslint from 'vite-plugin-eslint'; +import * as path from 'path'; import baseConfig from './vite.config.base'; -import * as path from "path"; export default mergeConfig( { @@ -11,11 +11,13 @@ export default mergeConfig( fs: { strict: true, }, - proxy:{ + proxy: { '/api': { - target: 'http://localhost:8080', + target: 'http://59.110.238.182:8081', + // target: 'http://4.246.149.244:8081', + // target: 'http://localhost:5173', changeOrigin: true, - } + }, }, }, plugins: [ diff --git a/index.html b/index.html index 46cac70..61c2883 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,17 @@ -
- - - -