feat: implement content management dashboard and update proxy configurations to support AI-assisted learning material generation
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import PocketBase from 'pocketbase';
|
||||
|
||||
const pbUrl = import.meta.env.VITE_PB_URL ||
|
||||
(typeof window !== 'undefined' ? window.location.origin + '/pb' : 'http://localhost:8090');
|
||||
(typeof window !== 'undefined' ? window.location.origin : 'http://localhost:8090');
|
||||
|
||||
export const pb = new PocketBase(pbUrl);
|
||||
|
||||
Reference in New Issue
Block a user