From 8eb4296ab6ad2e4898dc3c45de40dc55e4dab8ff Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Thu, 8 Jul 2021 09:31:50 +0930 Subject: [PATCH] fix: update hash var --- app/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/server.ts b/app/server.ts index 856de40d2..6b3c086fa 100644 --- a/app/server.ts +++ b/app/server.ts @@ -106,7 +106,7 @@ const getAllowedOrigins = (): string[] => { ...(cert.hash ? [`https://${hash}${webuiHTTPSPort ? `:${webuiHTTPSPort}` : ''}`] : []), // Wan hash - ...(cert.hash && wanAccessEnabled ? [`https://www.${hash}${wanHTTPSPort ? `:${wanHTTPSPort}` : ''}`] : []), + ...(cert.hash && wanAccessEnabled ? [`https://www.${cert.hash}${wanHTTPSPort ? `:${wanHTTPSPort}` : ''}`] : []), // Notifier bridge '/var/run/unraid-notifications.sock',