From 6ce6946a4401d2ee6fa5cb747fab7d4c658a63c8 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 26 Aug 2023 17:55:27 -0600 Subject: add entity updates over network! --- client/vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/vite.config.ts') 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/, '') } -- cgit v1.2.3-70-g09d2