feat: migrate pocketbase to v0.23
This commit is contained in:
8
ui/src/repository/_pocketbase.ts
Normal file
8
ui/src/repository/_pocketbase.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import PocketBase from "pocketbase";
|
||||
|
||||
let pb: PocketBase;
|
||||
export const getPocketBase = () => {
|
||||
if (pb) return pb;
|
||||
pb = new PocketBase("/");
|
||||
return pb;
|
||||
};
|
||||
Reference in New Issue
Block a user