aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/frontend/src/xtext/webSocketMachine.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/subprojects/frontend/src/xtext/webSocketMachine.ts b/subprojects/frontend/src/xtext/webSocketMachine.ts
index a1eee781..b5b40d11 100644
--- a/subprojects/frontend/src/xtext/webSocketMachine.ts
+++ b/subprojects/frontend/src/xtext/webSocketMachine.ts
@@ -39,8 +39,7 @@ export function isWebSocketURLLocal(webSocketURL: string | undefined): boolean {
39 return ( 39 return (
40 hostname === 'localhost' || 40 hostname === 'localhost' ||
41 hostname === '[::1]' || 41 hostname === '[::1]' ||
42 hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/) !== 42 hostname.match(/^127(?:\.(?:25[0-5]|2[0-4]\d|[01]?\d\d?)){3}$/) !== null
43 null
44 ); 43 );
45} 44}
46 45