mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-23 10:32:17 -08:00
refactor: Add deprecation notice for WEBHOOK_TUNNEL_URL (#6194)
This commit is contained in:
parent
2913e676e6
commit
fad5781635
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue