From fd1bb1cca9521348ae2849ef30be09264503681e Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 29 Aug 2023 12:05:02 -0600 Subject: don't update controllable entities on the client --- client/vite.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/vite.config.ts') 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/, '') } -- cgit v1.2.3-70-g09d2