aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/vite.config.ts5
1 files 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',
},
},
})