Add port config
This commit is contained in:
parent
9dc8030d86
commit
98bcce60e3
4
server/conf.txt
Normal file
4
server/conf.txt
Normal file
|
@ -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
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user