Fix frontend API: use relative /api with Vite proxy to agent
CI / basic-check (push) Has been cancelled

This commit is contained in:
Perplexity Bot
2026-08-03 22:40:24 +00:00
parent 186aae1b5f
commit dc1b2ab99b
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import type { NetObject, ServiceInfo } from '../types';
const AGENT_BASE = 'http://127.0.0.1:8001';
const AGENT_BASE = '/api';
export async function fetchObjects(): Promise<NetObject[]> {
return [