get env files working with new svelte kit expression

This commit is contained in:
JCEEE
2026-06-24 16:15:48 +01:00
parent be572b487a
commit 170a52f19a
83 changed files with 128 additions and 26194 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import PocketBase from 'pocketbase';
import { SERVER_IP, PB_PORT } from '../../../config.ts';
import { SERVER_IP, PB_PORT } from '$app/env/public';
const url = `http://${SERVER_IP}:${PB_PORT}`;
export const pb: PocketBase = new PocketBase(url);