Skip to content

Commit

Permalink
Make sure the UI is respecting base url for ui settings
Browse files Browse the repository at this point in the history
  • Loading branch information
znicholasbrown committed Jan 22, 2024
1 parent 1bbca64 commit adb71fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/services/uiSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class UiSettings {
public static settings: Settings | null = null

private static promise: Promise<Settings> | null = null
private static readonly baseUrl = MODE() === 'development' ? 'http://127.0.0.1:4200' : ''
private static readonly baseUrl = MODE() === 'development' ? 'http://127.0.0.1:4200' : BASE_URL()
public static async load(): Promise<Settings> {
if (this.settings !== null) {
return this.settings
Expand Down

0 comments on commit adb71fc

Please sign in to comment.