From 7736846d86b0868bb86e51ae84970be980eca020 Mon Sep 17 00:00:00 2001 From: Parker Date: Mon, 11 Nov 2024 23:59:23 -0600 Subject: Run on localhost --- app/vite.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/vite.config.ts b/app/vite.config.ts index 96f68d0..e7f72d5 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -5,9 +5,8 @@ import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], - // Run on 127.0.0.1 + // Proxy API requests to the backend server: { - host: '127.0.0.1', proxy: { '/api': 'http://127.0.0.1:5252', }, -- cgit v1.2.3-70-g09d2