Skip to content

Commit af061fa

Browse files
committed
Revert "don't add wanport to LAN FQDN"
This reverts commit 06be9be.
1 parent 0d4cf9f commit af061fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/unraid-api-plugin-connect/src/network/url-resolver.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,10 +351,9 @@ export class UrlResolverService {
351351
nginx.fqdnUrls?.forEach((fqdnUrl: FqdnEntry) => {
352352
doSafely(() => {
353353
const urlType = this.getUrlTypeFromFqdn(fqdnUrl.interface);
354-
const portToUse = urlType === URL_TYPE.LAN ? nginx.httpsPort : wanport || nginx.httpsPort;
355354
const fqdnUrlToUse = this.getUrlForField({
356355
url: fqdnUrl.fqdn,
357-
portSsl: Number(portToUse),
356+
portSsl: Number(wanport || nginx.httpsPort),
358357
});
359358

360359
urls.push({

0 commit comments

Comments
 (0)