From cc744e1fefd19feb2f9f8e6bef2794026dc3ee83 Mon Sep 17 00:00:00 2001 From: Parker Date: Mon, 11 Nov 2024 20:45:17 -0600 Subject: [PATCH] Change host --- app/vite.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/vite.config.ts b/app/vite.config.ts index a33bc01..96f68d0 100644 --- a/app/vite.config.ts +++ b/app/vite.config.ts @@ -5,10 +5,11 @@ import react from '@vitejs/plugin-react' export default defineConfig({ plugins: [react()], - // Proxy to the backend server + // Run on 127.0.0.1 server: { + host: '127.0.0.1', proxy: { - '/api': 'http://localhost:5252', + '/api': 'http://127.0.0.1:5252', }, }, })