feat(frontend): migrate API calls to /api/v1 (Stage 1 PR5)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1445043649
2026-06-28 20:07:20 +08:00
parent e6a12b9a7c
commit 190c1dc3c8
12 changed files with 47 additions and 35 deletions
+2 -2
View File
@@ -27,9 +27,9 @@ async function proxyRequest(request: NextRequest, pathname: string) {
}
export async function GET(request: NextRequest) {
return proxyRequest(request, "/api/memory");
return proxyRequest(request, "/api/v1/memory");
}
export async function DELETE(request: NextRequest) {
return proxyRequest(request, "/api/memory");
return proxyRequest(request, "/api/v1/memory");
}