We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9b051 commit 6b74589Copy full SHA for 6b74589
1 file changed
packages/server/src/enterprise/utils/url.util.ts
@@ -23,10 +23,7 @@ export function getSecureAppUrl(path?: string): string {
23
}
24
25
const isLocalhost =
26
- urlObj.hostname === 'localhost' ||
27
- urlObj.hostname === '127.0.0.1' ||
28
- urlObj.hostname === '[::1]' ||
29
- urlObj.hostname === '0.0.0.0'
+ urlObj.hostname === 'localhost' || urlObj.hostname === '127.0.0.1' || urlObj.hostname === '[::1]' || urlObj.hostname === '0.0.0.0'
30
31
// If URL is HTTP and NOT localhost, convert to HTTPS for security.
32
// Keep HTTP for localhost/development URLs to avoid issues with self-signed certs.
0 commit comments