fix: add localhost:9090 to CORS defaults; revert broken relative-URL and proxy changes

This commit is contained in:
2026-04-09 19:14:40 -04:00
parent 3362325479
commit 29da2a75b3
3 changed files with 2 additions and 10 deletions

View File

@@ -4,12 +4,4 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
},
},
})