use env pb url
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import PocketBase from "pocketbase";
|
import PocketBase from "pocketbase";
|
||||||
|
|
||||||
const pb = new PocketBase("http://localhost:4321");
|
const pb = new PocketBase(import.meta.env.PUBLIC_PB_URL);
|
||||||
pb.autoCancellation(false)
|
pb.autoCancellation(false)
|
||||||
|
|
||||||
export const authPB = async () => {
|
export const authPB = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user