fix: remove duplicate .unraid.net in cert

This commit is contained in:
Alexis Tyler
2021-06-28 22:25:30 +09:30
parent c73689ff8f
commit dabf45df09

View File

@@ -78,7 +78,7 @@ const allowedOrigins: string[] = [...new Set([
// The webui
'http://tower.local',
`http://${localIp}`,
...(hash ? [`https://${hash}.unraid.net`] : []),
...(hash ? [`https://${hash}`] : []),
// Other endpoints should be added below
...extraOrigins