feat: refactor API base URL handling and update frontend components for improved data structure

This commit is contained in:
2026-06-20 02:26:37 +00:00
parent 9f2e85f60f
commit 112624fff9
8 changed files with 72 additions and 53 deletions
+6
View File
@@ -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,
},