Skip to content

Commit

Permalink
Use the config url for pocketbase in the frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
azlyth committed Feb 10, 2025
1 parent c33c7ab commit 5166d84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/pocketbase/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import PocketBase from 'pocketbase';
import { config } from '@/config';

const pb = new PocketBase('http://localhost:8090');
const pb = new PocketBase(config.pocketbaseUrl);

export default pb;

0 comments on commit 5166d84

Please sign in to comment.