From c0e6f678997e245af91544dafc118ae04994ac88 Mon Sep 17 00:00:00 2001 From: yoan <536464346@qq.com> Date: Sat, 7 Sep 2024 21:26:19 +0800 Subject: [PATCH] update api --- ui/src/repository/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/repository/api.ts b/ui/src/repository/api.ts index 0cf5974a..993dadf0 100644 --- a/ui/src/repository/api.ts +++ b/ui/src/repository/api.ts @@ -4,6 +4,6 @@ console.log(apiDomain); let pb: PocketBase; export const getPb = () => { if (pb) return pb; - pb = new PocketBase("http://127.0.0.1:8090"); + pb = new PocketBase("/"); return pb; };