diff options
Diffstat (limited to 'client/vite.config.ts')
-rw-r--r-- | client/vite.config.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/vite.config.ts b/client/vite.config.ts index 6f0e1d0..d8b999c 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -5,10 +5,9 @@ import { fileURLToPath, URL } from 'node:url'; // https://vitejs.dev/config/ export default defineConfig({ server: { - host: '0.0.0.0', proxy: { '/api': { - target: 'http://10.0.0.237:8080', + target: 'http://localhost:8080', ws: true, rewrite: (path) => path.replace(/^\/api/, '') } |