mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
Merge pull request #1509 from diogovalentte/dev
feat: add support for default ports on http(s) protocols on download.ts
This commit is contained in:
@@ -156,7 +156,7 @@ const GetDataFromClient = async (
|
||||
const url = new URL(app.url);
|
||||
const options = {
|
||||
host: url.hostname,
|
||||
port: url.port,
|
||||
port: url.port || (url.protocol === 'https:' ? '443' : '80'),
|
||||
login: findAppProperty(app, 'username'),
|
||||
hash: findAppProperty(app, 'password'),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user