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