[mirotalk] - fix typo
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ NGROK_AUTH_TOKEN=YourNgrokAuthToken
|
||||
|
||||
TURN_URLS=turn:numb.viagenie.ca
|
||||
TURN_USERNAME=YourNumbUsername
|
||||
TURN=PASSWORD=YourNumbPassword
|
||||
TURN_PASSWORD=YourNumbPassword
|
||||
|
||||
# Heroku
|
||||
# https://devcenter.heroku.com/articles/config-vars
|
||||
@@ -34,13 +34,13 @@ async function ngrokStart() {
|
||||
try {
|
||||
await ngrok.authtoken(ngrokAuthToken);
|
||||
await ngrok.connect(PORT);
|
||||
const api = ngrok.getApi();
|
||||
let api = ngrok.getApi();
|
||||
let data = await api.get("api/tunnels");
|
||||
data = JSON.parse(data);
|
||||
//console.log(data);
|
||||
const pu0 = data.tunnels[0].public_url;
|
||||
const pu1 = data.tunnels[1].public_url;
|
||||
const tunnelHttps = pu0.startsWith("https") ? pu0 : pu1;
|
||||
let pu0 = data.tunnels[0].public_url;
|
||||
let pu1 = data.tunnels[1].public_url;
|
||||
let tunnelHttps = pu0.startsWith("https") ? pu0 : pu1;
|
||||
console.log("ngrok-tunnel", { https: tunnelHttps });
|
||||
// https://www.iditect.com/how-to/55122741.html
|
||||
} catch (e) {
|
||||
@@ -88,6 +88,10 @@ server.listen(PORT, null, function () {
|
||||
console.log("settings", {
|
||||
http: "http://localhost:" + PORT,
|
||||
iceServers: iceServers,
|
||||
ngrok: {
|
||||
ngrok_enabled: ngrokEnabled,
|
||||
ngrok_token: ngrokAuthToken,
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
+2
-2
@@ -776,7 +776,7 @@ function showChatRoom() {
|
||||
background: "black",
|
||||
position: "center",
|
||||
icon: "info",
|
||||
title: "Enter your chat name",
|
||||
title: "Enter a name for chat",
|
||||
input: "text",
|
||||
showClass: {
|
||||
popup: "animate__animated animate__fadeInDown",
|
||||
@@ -786,7 +786,7 @@ function showChatRoom() {
|
||||
},
|
||||
inputValidator: (value) => {
|
||||
if (!value) {
|
||||
return "Please write your chat name.";
|
||||
return "Please enter a name for chat";
|
||||
}
|
||||
myChatName = value;
|
||||
showMsgerDraggable();
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
@import url("https://fonts.googleapis.com/css?family=Fira+Sans:600|Heebo:400,500,700&display=swap");
|
||||
|
||||
/*Fade in page on load*/
|
||||
@-webkit-keyframes fadeIn {
|
||||
from {
|
||||
|
||||
Reference in New Issue
Block a user