Temporary disabled ngrok (share live URL option)

This commit is contained in:
2024-06-23 01:26:14 -06:00
parent 3daa725309
commit bcad45d1e8
+3 -3
View File
@@ -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.`);
} }