Skip to content

Commit

Permalink
chore(twilio-run): updates to the latest ngrok version
Browse files Browse the repository at this point in the history
  • Loading branch information
philnash committed Apr 16, 2021
1 parent f715070 commit 0601cf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/twilio-run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"yargs": "^13.2.2"
},
"optionalDependencies": {
"ngrok": "^3.3.0"
"ngrok": "^4.0.1"
},
"devDependencies": {
"@types/cheerio": "^0.22.12",
Expand Down
4 changes: 2 additions & 2 deletions packages/twilio-run/src/config/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { fileExists } from '../utils/fs';
import { getDebugFunction, logger } from '../utils/logger';
import { readSpecializedConfig } from './global';
import { mergeFlagsAndConfig } from './utils/mergeFlagsAndConfig';
import { INgrokOptions } from 'ngrok';
import { Ngrok } from 'ngrok';
import { parse } from 'yaml';

const debug = getDebugFunction('twilio-run:cli:config');
Expand Down Expand Up @@ -71,7 +71,7 @@ export async function getUrl(cli: StartCliFlags, port: string | number) {
debug('Starting ngrok tunnel');
// Setup default ngrok config, setting the protocol and the port number to
// forward to.
const defaultConfig: INgrokOptions = { addr: port, proto: 'http' };
const defaultConfig: Ngrok.Options = { addr: port, proto: 'http' };
let tunnelConfig = defaultConfig;
let ngrokConfig;
if (typeof cli.ngrokConfig === 'string') {
Expand Down

0 comments on commit 0601cf4

Please sign in to comment.