removed bare dev fallback routes, only support developmnet in
docker/podman
This commit is contained in:
parent
702d99b9ed
commit
c7f6b30b87
13 changed files with 47 additions and 121 deletions
|
|
@ -2,7 +2,7 @@ import PocketBase from 'pocketbase';
|
|||
import { env } from '$env/dynamic/public';
|
||||
import { browser } from '$app/environment';
|
||||
|
||||
export const pbUrl = env.PUBLIC_POCKETBASE_URL || 'http://localhost:8080';
|
||||
export const pbUrl = env.PUBLIC_POCKETBASE_URL;
|
||||
|
||||
export function createPocketBase(authCookie?: string, url = pbUrl) {
|
||||
const pb = new PocketBase(url);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue