diff options
author | Parker <contact@pkrm.dev> | 2024-11-11 20:45:17 -0600 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-11-11 20:45:17 -0600 |
commit | cc744e1fefd19feb2f9f8e6bef2794026dc3ee83 (patch) | |
tree | cbb905c23369125d481d85d5a42057f353c05b39 /app/vite.config.ts | |
parent | f4c5cb10dffa2e7feb0ef8282a1edf729ab87ee8 (diff) |
Change host
Diffstat (limited to 'app/vite.config.ts')
-rw-r--r-- | app/vite.config.ts | 5 |
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', }, }, }) |