aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-09-25 20:14:42 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-10-03 20:06:52 +0200
commit89d6f019f764532d85d1f7499355e1cd3075f0b5 (patch)
treebc007da572948f9de1df5bc7497cda6f6a1fa752 /subprojects
parentfeat: data structure for assertion merging (diff)
downloadrefinery-89d6f019f764532d85d1f7499355e1cd3075f0b5.tar.gz
refinery-89d6f019f764532d85d1f7499355e1cd3075f0b5.tar.zst
refinery-89d6f019f764532d85d1f7499355e1cd3075f0b5.zip
chore: fix some warnings
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