mirror of
https://github.com/farcasclaudiu/learn-build-apps-copilot-agent.git
synced 2026-06-29 03:01:40 +03:00
feat: refactor API base URL handling and update frontend components for improved data structure
This commit is contained in:
@@ -5,6 +5,12 @@ import react from '@vitejs/plugin-react'
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://127.0.0.1:8000',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
port: 5173,
|
||||
strictPort: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user