use env pb url

This commit is contained in:
2025-11-18 11:01:42 +13:00
parent 1323b5da88
commit c42f43812c

View File

@@ -1,6 +1,6 @@
import PocketBase from "pocketbase";
const pb = new PocketBase("http://localhost:4321");
const pb = new PocketBase(import.meta.env.PUBLIC_PB_URL);
pb.autoCancellation(false)
export const authPB = async () => {