mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
⬆️ Set localtunnel@2.0.0 on n8n
This commit is contained in:
parent
a3f6fa2c5d
commit
da425ff857
|
@ -5,8 +5,7 @@ import {
|
|||
} from "n8n-core";
|
||||
import { Command, flags } from '@oclif/command';
|
||||
const open = require('open');
|
||||
import { promisify } from 'util';
|
||||
import { dirname } from 'path';
|
||||
// import { dirname } from 'path';
|
||||
|
||||
import * as config from '../config';
|
||||
import {
|
||||
|
@ -20,7 +19,6 @@ import {
|
|||
TestWebhooks,
|
||||
} from "../src";
|
||||
|
||||
const tunnel = promisify(localtunnel);
|
||||
|
||||
// // Add support for internationalization
|
||||
// const fullIcuPath = require.resolve('full-icu');
|
||||
|
@ -151,7 +149,7 @@ export class Start extends Command {
|
|||
const port = config.get('port') as number;
|
||||
|
||||
// @ts-ignore
|
||||
const webhookTunnel = await tunnel(port, tunnelSettings);
|
||||
const webhookTunnel = await localtunnel(port, tunnelSettings);
|
||||
|
||||
process.env.WEBHOOK_TUNNEL_URL = webhookTunnel.url + '/';
|
||||
this.log(`Tunnel URL: ${process.env.WEBHOOK_TUNNEL_URL}\n`);
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
"inquirer": "^7.0.1",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"jwks-rsa": "^1.6.0",
|
||||
"localtunnel": "^1.9.1",
|
||||
"localtunnel": "^2.0.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
"mongodb": "^3.2.3",
|
||||
"n8n-core": "~0.18.0",
|
||||
|
|
Loading…
Reference in a new issue