fix: update hash var

This commit is contained in:
Alexis Tyler
2021-07-08 09:31:50 +09:30
parent 19114ea3a0
commit 8eb4296ab6

View File

@@ -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',