Skip to content

Commit

Permalink
fix: Fix baseUrl assignment (no-changelog) (#5266)
Browse files Browse the repository at this point in the history
fix: fix baseUrl assignment (no-changelog)
  • Loading branch information
alexgrozav authored Jan 27, 2023
1 parent 277bed2 commit 1c3dcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor-ui/src/stores/n8nRootStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { VUE_APP_URL_BASE_API, VUE_APP_ENDPOINT_REST } = import.meta.env;
export const useRootStore = defineStore(STORES.ROOT, {
state: (): RootState => ({
baseUrl:
VUE_APP_URL_BASE_API ?? window.BASE_PATH === '/{{BASE_PATH}}/' ? '/' : window.BASE_PATH,
VUE_APP_URL_BASE_API ?? (window.BASE_PATH === '/{{BASE_PATH}}/' ? '/' : window.BASE_PATH),
defaultLocale: 'en',
endpointWebhook: 'webhook',
endpointWebhookTest: 'webhook-test',
Expand Down

0 comments on commit 1c3dcd9

Please sign in to comment.