-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixed pocketbase url 127.0.0.1 (#13)
The base url for pocketbase client is hardcoded to be 127.0.0.1, now removed, use default.
- Loading branch information
1 parent
34aa0e6
commit bc8ba27
Showing
3 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import PocketBase from 'pocketbase'; | ||
import type { TypedPocketBase } from './pocketbase-types'; | ||
import { PUBLIC_PB_URL } from '$env/static/public'; | ||
|
||
export const pb = new PocketBase(PUBLIC_PB_URL) as TypedPocketBase; | ||
export const pb = new PocketBase() as TypedPocketBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters