aboutsummaryrefslogtreecommitdiff
path: root/app/vite.config.ts
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2024-11-11 23:59:23 -0600
committerParker <contact@pkrm.dev>2024-11-11 23:59:23 -0600
commit7736846d86b0868bb86e51ae84970be980eca020 (patch)
tree62c7fe6d9cdcd951be69aa750306c760645a07e9 /app/vite.config.ts
parent52127adb08cff9e6bf6bad0125c3b5f7e0d04db2 (diff)
Run on localhost
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',
},