diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-26 17:55:27 -0600 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2023-08-26 17:55:27 -0600 |
commit | 6ce6946a4401d2ee6fa5cb747fab7d4c658a63c8 (patch) | |
tree | e60767dc5295edf379cf421e20171dc418e548b7 /client/vite.config.ts | |
parent | 594921352c8d82fe5f1a6201a4d5f9fbd9b719fc (diff) | |
download | jumpstorm-6ce6946a4401d2ee6fa5cb747fab7d4c658a63c8.tar.gz jumpstorm-6ce6946a4401d2ee6fa5cb747fab7d4c658a63c8.zip |
add entity updates over network!
Diffstat (limited to 'client/vite.config.ts')
-rw-r--r-- | client/vite.config.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/vite.config.ts b/client/vite.config.ts index d8b999c..6f0e1d0 100644 --- a/client/vite.config.ts +++ b/client/vite.config.ts @@ -5,9 +5,10 @@ import { fileURLToPath, URL } from 'node:url'; // https://vitejs.dev/config/ export default defineConfig({ server: { + host: '0.0.0.0', proxy: { '/api': { - target: 'http://localhost:8080', + target: 'http://10.0.0.237:8080', ws: true, rewrite: (path) => path.replace(/^\/api/, '') } |