mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
✨ Use convict for configuration to make n8n easier to configure
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import Vorpal = require('vorpal');
|
||||
import { Args } from 'vorpal';
|
||||
import * as config from 'config';
|
||||
import * as config from '../config';
|
||||
|
||||
const open = require('open');
|
||||
|
||||
@@ -105,7 +105,7 @@ flag "--init" to fix this problem!`);
|
||||
subdomain: userSettings.tunnelSubdomain,
|
||||
};
|
||||
|
||||
const port = config.get('urls.port') as number;
|
||||
const port = config.get('port') as number;
|
||||
|
||||
// @ts-ignore
|
||||
const webhookTunnel = await tunnel(port, tunnelSettings);
|
||||
|
||||
Reference in New Issue
Block a user