Skip to content

Commit

Permalink
fix: wrong default used for PB while running app in DEV
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Goniszewski <robertgoniszewski@outlook.com>
  • Loading branch information
goniszewski committed Apr 4, 2024
1 parent 050980c commit dbf7daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { UserSettings } from './types/UserSettings.type';

const pbUrl = config.IS_DEV
? config.POCKETBASE_URL === 'http://pocketbase'
? 'http://localhost:5173'
? 'http://localhost:8090'
: config.POCKETBASE_URL
: config.ORIGIN + urls.INTERNAL_PB;

Expand Down

0 comments on commit dbf7daa

Please sign in to comment.