mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
🐛 Fix editor-ui build
This commit is contained in:
@@ -209,7 +209,7 @@ export default mixins(
|
||||
return {
|
||||
aboutDialogVisible: false,
|
||||
// @ts-ignore
|
||||
basePath: window.BASE_PATH,
|
||||
basePath: this.$store.getters.getBaseUrl,
|
||||
isCollapsed: true,
|
||||
credentialNewDialogVisible: false,
|
||||
credentialOpenDialogVisible: false,
|
||||
|
||||
@@ -9,7 +9,7 @@ Vue.use(Router);
|
||||
export default new Router({
|
||||
mode: 'history',
|
||||
// @ts-ignore
|
||||
base: window.BASE_PATH,
|
||||
base: window.BASE_PATH === '/%BASE_PATH%/' ? '/' : window.BASE_PATH,
|
||||
routes: [
|
||||
{
|
||||
path: '/execution/:id',
|
||||
|
||||
@@ -39,7 +39,7 @@ export const store = new Vuex.Store({
|
||||
activeActions: [] as string[],
|
||||
activeNode: null as string | null,
|
||||
// @ts-ignore
|
||||
baseUrl: window.BASE_PATH ? window.BASE_PATH : '/',
|
||||
baseUrl: process.env.VUE_APP_URL_BASE_API ? process.env.VUE_APP_URL_BASE_API : (window.BASE_PATH === '/%BASE_PATH%/' ? '/' : window.BASE_PATH),
|
||||
credentials: null as ICredentialsResponse[] | null,
|
||||
credentialTypes: null as ICredentialType[] | null,
|
||||
endpointWebhook: 'webhook',
|
||||
|
||||
Reference in New Issue
Block a user