Reworked message format, added support for audio messages, made Message class #10

Merged
snxraven merged 20 commits from MiTask/LinkUp-P2P-Chat:main into main 2024-06-14 14:15:43 -04:00
Showing only changes of commit d4dc1b299d - Show all commits

1
app.js
View File

@ -850,6 +850,7 @@ function writeConfigToFile(filePath) {
function updatePortInUrl(url) {
if (!url) return url;
const urlObject = new URL(url);
if(urlObject.port == 443) return urlObject.toString();
urlObject.port = servePort;
return urlObject.toString();
}