use 127.0.0.1 instead of full host name for websocket listening

This commit is contained in:
2026-04-10 12:53:47 +02:00
parent 37ed7bdba3
commit b4312a0374
+2 -1
View File
@@ -31,7 +31,8 @@ class Args:
hostname = socket.gethostname()
if '.' not in hostname:
hostname += '.psi.ch'
args['wsaddr'] = f'{hostname}:{webport}'
# args['wsaddr'] = f'{hostname}:{webport}'
args['wsaddr'] = f'127.0.0.1:{webport}'
self.port = int(port)
self.html = args.pop('html')
self.args = args