forked from snxraven/LinkUp-P2P-Chat
Compare commits
1 Commits
0af52a3764
...
main
Author | SHA1 | Date | |
---|---|---|---|
4ae2f4cbe8 |
4
app.js
4
app.js
@ -992,10 +992,6 @@ function updatePortInUrl(url) {
|
||||
console.error('Invalid URL format:', url);
|
||||
return '';
|
||||
}
|
||||
if (url === '') {
|
||||
console.error('Empty URL:', url);
|
||||
return '';
|
||||
}
|
||||
const urlObj = new URL(url);
|
||||
urlObj.port = servePort;
|
||||
return urlObj.toString();
|
||||
|
@ -11,7 +11,8 @@
|
||||
"minWidth": 955,
|
||||
"minHeight": 547,
|
||||
"width": 955
|
||||
}
|
||||
},
|
||||
"links": ["http://127.0.0.1", "http://localhost", "https://ka-f.fontawesome.com", "https://cdn.jsdelivr.net", "https://cdnjs.cloudflare.com"]
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"devDependencies": {
|
||||
|
Reference in New Issue
Block a user