removed bare dev fallback routes, only support developmnet in

docker/podman
This commit is contained in:
Jakub Dorfman 2026-08-19 13:22:51 +02:00
parent 702d99b9ed
commit c7f6b30b87
13 changed files with 47 additions and 121 deletions

View file

@ -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);