diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-29 12:05:02 -0600 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-29 12:05:02 -0600 |
| commit | fd1bb1cca9521348ae2849ef30be09264503681e (patch) | |
| tree | 6859c24c53fdd2a83ed0a92ee10272aa70b6c55d /client/vite.config.ts | |
| parent | 8a4ab8d79b5ce1dabb431168398b5d5111fe326c (diff) | |
| download | jumpstorm-fd1bb1cca9521348ae2849ef30be09264503681e.tar.gz jumpstorm-fd1bb1cca9521348ae2849ef30be09264503681e.zip | |
don't update controllable entities on the client
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/, '') } |
