mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
disable ws for Consulate and better messaging for 0.2.x update
This commit is contained in:
committed by
Aiden McClelland
parent
45f0adde18
commit
cfa4055053
@@ -37,7 +37,8 @@ export class ConfigService {
|
||||
mocks = mocks
|
||||
|
||||
skipStartupAlerts = mocks.enabled && mocks.skipStartupAlerts
|
||||
supportsWebSockets = 'WebSocket' in window || 'MozWebSocket' in window
|
||||
isConsulate = window['platform'] === 'ios'
|
||||
supportsWebSockets = !!window.WebSocket || this.isConsulate
|
||||
|
||||
isTor (): boolean {
|
||||
return (mocks.enabled && mocks.maskAs === 'tor') || this.origin.endsWith('.onion')
|
||||
|
||||
Reference in New Issue
Block a user