fix: Fix baseUrl assignment (no-changelog) (#5266)
fix: fix baseUrl assignment (no-changelog)
This commit is contained in:
@@ -10,7 +10,7 @@ const { VUE_APP_URL_BASE_API, VUE_APP_ENDPOINT_REST } = import.meta.env;
|
|||||||
export const useRootStore = defineStore(STORES.ROOT, {
|
export const useRootStore = defineStore(STORES.ROOT, {
|
||||||
state: (): RootState => ({
|
state: (): RootState => ({
|
||||||
baseUrl:
|
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',
|
defaultLocale: 'en',
|
||||||
endpointWebhook: 'webhook',
|
endpointWebhook: 'webhook',
|
||||||
endpointWebhookTest: 'webhook-test',
|
endpointWebhookTest: 'webhook-test',
|
||||||
|
|||||||
Reference in New Issue
Block a user