Compare commits

..

1 Commits

Author SHA1 Message Date
4ae2f4cbe8 Update package.json 2024-11-23 01:53:15 -05:00
2 changed files with 2 additions and 5 deletions

4
app.js
View File

@ -992,10 +992,6 @@ function updatePortInUrl(url) {
console.error('Invalid URL format:', url); console.error('Invalid URL format:', url);
return ''; return '';
} }
if (url === '') {
console.error('Empty URL:', url);
return '';
}
const urlObj = new URL(url); const urlObj = new URL(url);
urlObj.port = servePort; urlObj.port = servePort;
return urlObj.toString(); return urlObj.toString();

View File

@ -11,7 +11,8 @@
"minWidth": 955, "minWidth": 955,
"minHeight": 547, "minHeight": 547,
"width": 955 "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", "license": "Apache-2.0",
"devDependencies": { "devDependencies": {