The TKB server runs on 3090; the proxy was still pointed at 3080 from the METRO project origin, so the dev server returned the wrong schema (stations instead of people). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
268 B
TypeScript
13 lines
268 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
server: {
|
|
proxy: {
|
|
'/api': 'http://localhost:3090',
|
|
},
|
|
},
|
|
})
|