mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Revert "Infer unifi port"
This commit is contained in:
parent
69c9a449b1
commit
86b12debc5
2 changed files with 1 additions and 8 deletions
|
@ -82,13 +82,6 @@ export default async function unifiProxyHandler(req, res) {
|
|||
|
||||
widget.prefix = prefix;
|
||||
|
||||
if (!widget.port) {
|
||||
widget.port = 8443;
|
||||
if (widget.prefix == udmpPrefix) {
|
||||
widget.port = 443
|
||||
}
|
||||
}
|
||||
|
||||
const { endpoint } = req.query;
|
||||
const url = new URL(formatApiCall(api, { endpoint, ...widget }));
|
||||
const params = { method: "GET", headers: {} };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue