- api: /chat route runs runAgent (session-required, 503 when unconfigured) - api: index.ts builds OpenRouterLlmClient + WpRestExecutor from env; loads .env - web: useChat calls /chat with mock fallback; proxy /chat+/sites+/health - .env.example: DATABASE_URL empty by default (in-memory dev) - 111 unit tests green; smoke-tested signup+chat
This commit is contained in:
@@ -6,6 +6,9 @@ export default defineConfig({
|
||||
server: {
|
||||
proxy: {
|
||||
'/auth': 'http://localhost:3000',
|
||||
'/chat': 'http://localhost:3000',
|
||||
'/sites': 'http://localhost:3000',
|
||||
'/health': 'http://localhost:3000',
|
||||
},
|
||||
},
|
||||
test: {
|
||||
|
||||
Reference in New Issue
Block a user