minor web cleanup chores

This commit is contained in:
Matt Hill
2025-04-13 13:03:51 -06:00
parent 2e6e9635c3
commit 03f8b73627
9 changed files with 17 additions and 53 deletions

View File

@@ -35,9 +35,9 @@ export class ConfigService {
}
isLocal(): boolean {
return (
this.hostname.endsWith('.local') || (useMocks && mocks.maskAs === 'local')
)
return useMocks
? mocks.maskAs === 'local'
: this.hostname.endsWith('.local')
}
isLocalhost(): boolean {