Temporary disabled ngrok (share live URL option)
This commit is contained in:
@@ -38,7 +38,7 @@ import {
|
|||||||
import PluginError from 'plugin-error';
|
import PluginError from 'plugin-error';
|
||||||
import {Server} from "socket.io";
|
import {Server} from "socket.io";
|
||||||
import {createServer} from 'http';
|
import {createServer} from 'http';
|
||||||
import {authtoken, connect} from "ngrok";
|
// import {authtoken, connect} from "ngrok";
|
||||||
import bodyParser from "body-parser";
|
import bodyParser from "body-parser";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -569,8 +569,8 @@ async function getShareableUrl() {
|
|||||||
|
|
||||||
let url;
|
let url;
|
||||||
try {
|
try {
|
||||||
await authtoken(data.ngrokApiToken);
|
// await authtoken(data.ngrokApiToken);
|
||||||
url = await connect(port);
|
// url = await connect(port);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log('Error:', `Can't connect to ngrok, probably wrong token.`);
|
console.log('Error:', `Can't connect to ngrok, probably wrong token.`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user