Reworked message format, added support for audio messages, made Message class #10
1
app.js
1
app.js
@ -850,6 +850,7 @@ function writeConfigToFile(filePath) {
|
|||||||
function updatePortInUrl(url) {
|
function updatePortInUrl(url) {
|
||||||
if (!url) return url;
|
if (!url) return url;
|
||||||
const urlObject = new URL(url);
|
const urlObject = new URL(url);
|
||||||
|
if(urlObject.port == 443) return urlObject.toString();
|
||||||
urlObject.port = servePort;
|
urlObject.port = servePort;
|
||||||
return urlObject.toString();
|
return urlObject.toString();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user