first commit
This commit is contained in:
5
apps/web/src/lib/pb.ts
Normal file
5
apps/web/src/lib/pb.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import PocketBase from 'pocketbase';
|
||||
import type { TypedPocketBase } from './pocketbase-types';
|
||||
import { dev } from '$app/environment';
|
||||
|
||||
export const pb = new PocketBase(dev ? 'http://localhost:8090' : undefined) as TypedPocketBase;
|
||||
Reference in New Issue
Block a user