Change host

This commit is contained in:
Parker M. 2024-11-11 20:45:17 -06:00
parent f4c5cb10df
commit cc744e1fef
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E

View File

@ -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',
},
},
})