diff --git a/server/conf.txt b/server/conf.txt new file mode 100644 index 0000000..8d306b1 --- /dev/null +++ b/server/conf.txt @@ -0,0 +1,4 @@ +backend x11 +display :1 +port 1234 +password_argon2 $argon2id$v=19$m=102400,t=2,p=8$NExqSUh+0wzBznBG9jM6ww$MkaPLZ6WPAegb8BI+IL7Bg diff --git a/server/wss.py b/server/wss.py index ea09bd1..53d2650 100644 --- a/server/wss.py +++ b/server/wss.py @@ -212,7 +212,7 @@ try: (r"/", HCRAServer), ('/' + token, Cycler), ]) - application.listen(1234) + application.listen(int(config['port'])) threading.Thread(target=get_token).start() tornado.ioloop.IOLoop.current().start() finally: