Added HOST and PORT config and updated the readme.md

This commit is contained in:
UrloMythus
2024-07-11 11:35:53 +02:00 Unverified
parent 2362c28dd0
commit dd13d16363
5 changed files with 99 additions and 7 deletions
+3 -1
View File
@@ -6,6 +6,8 @@ import config
FILMPERTUTTI = config.FILMPERTUTTI
STREAMINGCOMMUNITY = config.STREAMINGCOMMUNITY
HOST = config.HOST
PORT = int(config.PORT)
@@ -64,4 +66,4 @@ def addon_stream(type, id):
if __name__ == '__main__':
app.run(host='0.0.0.0', port=8080)
app.run(host=HOST, port=PORT)