mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Add deprecation notice for WEBHOOK_TUNNEL_URL (#6194)
This commit is contained in:
@@ -55,6 +55,11 @@ export abstract class BaseCommand extends Command {
|
||||
this.exitWithCrash('There was an error initializing DB', error),
|
||||
);
|
||||
|
||||
if (process.env.WEBHOOK_TUNNEL_URL) {
|
||||
LoggerProxy.warn(
|
||||
'You are still using the WEBHOOK_TUNNEL_URL environment variable. It has been deprecated and will be removed in a future version of n8n. Please switch to using WEBHOOK_URL instead.',
|
||||
);
|
||||
}
|
||||
const dbType = config.getEnv('database.type');
|
||||
|
||||
if (['mysqldb', 'mariadb'].includes(dbType)) {
|
||||
|
||||
Reference in New Issue
Block a user