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