Compare commits

..
2 Commits
Author SHA1 Message Date
bj 1eee40a30e modified web server to bind to 0.0.0.0 to allow external access 2020-10-22 19:18:35 +02:00
bj c1a5bb2db0 Downgraded Flask requirement 2020-10-19 21:22:45 +02:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
[metadata] [metadata]
name = torchsub name = torchsub
version = 0.0.2 version = 0.0.3
author = Benjamin Dweck author = Benjamin Dweck
author_email = [email protected] author_email = [email protected]
description = TORch Simple Subscriber description = TORch Simple Subscriber
@@ -20,7 +20,7 @@ install_requires =
itsdangerous~=1.1.0 itsdangerous~=1.1.0
click~=7.1.2 click~=7.1.2
MarkupSafe~=1.1.1 MarkupSafe~=1.1.1
Flask~=1.1.2 Flask~=1.1.1
[options.entry_points] [options.entry_points]
console_scripts = torch-sub=torchsub.torch_sub:main console_scripts = torch-sub=torchsub.torch_sub:main
+1 -1
View File
@@ -115,7 +115,7 @@ def main():
json.dump({}, database_blank) json.dump({}, database_blank)
threading.Thread(target=torch_sub_webserver.app.run, threading.Thread(target=torch_sub_webserver.app.run,
args=("localhost", config.web_port), args=("0.0.0.0", config.web_port),
daemon=True).start() daemon=True).start()
subscribe(config.broker_hostname, subscribe(config.broker_hostname,