mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
⚡ Make n8n work in subfolder & Fix events in AffinityTrigger
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
<el-menu-item index="logo" class="logo-item">
|
||||
<a href="https://n8n.io" target="_blank" class="logo">
|
||||
<img src="/n8n-icon-small.png" class="icon" alt="n8n.io"/>
|
||||
<img :src="basePath + 'n8n-icon-small.png'" class="icon" alt="n8n.io"/>
|
||||
<span class="logo-text" slot="title">n8n.io</span>
|
||||
</a>
|
||||
</el-menu-item>
|
||||
@@ -208,6 +208,8 @@ export default mixins(
|
||||
data () {
|
||||
return {
|
||||
aboutDialogVisible: false,
|
||||
// @ts-ignore
|
||||
basePath: window.BASE_PATH,
|
||||
isCollapsed: true,
|
||||
credentialNewDialogVisible: false,
|
||||
credentialOpenDialogVisible: false,
|
||||
|
||||
@@ -8,7 +8,8 @@ Vue.use(Router);
|
||||
|
||||
export default new Router({
|
||||
mode: 'history',
|
||||
base: process.env.BASE_URL,
|
||||
// @ts-ignore
|
||||
base: window.BASE_PATH,
|
||||
routes: [
|
||||
{
|
||||
path: '/execution/:id',
|
||||
|
||||
@@ -38,7 +38,8 @@ export const store = new Vuex.Store({
|
||||
activeWorkflows: [] as string[],
|
||||
activeActions: [] as string[],
|
||||
activeNode: null as string | null,
|
||||
baseUrl: process.env.VUE_APP_URL_BASE_API ? process.env.VUE_APP_URL_BASE_API : '/',
|
||||
// @ts-ignore
|
||||
baseUrl: window.BASE_PATH ? window.BASE_PATH : '/',
|
||||
credentials: null as ICredentialsResponse[] | null,
|
||||
credentialTypes: null as ICredentialType[] | null,
|
||||
endpointWebhook: 'webhook',
|
||||
|
||||
Reference in New Issue
Block a user