⬆️ Set localtunnel@2.0.0 on n8n

This commit is contained in:
Jan Oberhauser 2019-12-29 12:22:37 -06:00
parent a3f6fa2c5d
commit da425ff857
2 changed files with 3 additions and 5 deletions

View file

@ -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`);

View file

@ -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",