mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-05 18:03:04 +03:00
Allow configuration of gateway HTTP port rather than hardcoding.
This commit is contained in:
parent
46292e3c30
commit
ddd81574ed
@ -200,7 +200,7 @@ def main():
|
||||
loadConfig()
|
||||
|
||||
configure()
|
||||
run(host='0.0.0.0', port=8080, server='gevent')
|
||||
run(host='0.0.0.0', port=Settings.GATEWAY_HTTP_PORT, server='gevent')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -27,6 +27,8 @@ class _Settings(object):
|
||||
# Gateway settings
|
||||
###############################################################################
|
||||
|
||||
GATEWAY_HTTP_PORT = 8080
|
||||
|
||||
GATEWAY_SENDER_BINDINGS = ["tcp://*:8500"]
|
||||
|
||||
GATEWAY_IP_KEY_SALT = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user