Run on localhost

This commit is contained in:
Parker M. 2024-11-11 23:59:23 -06:00
parent 52127adb08
commit 7736846d86
Signed by: parker
GPG Key ID: 505ED36FC12B5D5E

View File

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