Whoops, got one of the remi.server parameters wrong
This commit is contained in:
parent
be484767c5
commit
94172221da
|
@ -5,7 +5,7 @@ port = 8081 # http listen port
|
||||||
api_base = "http://localhost:8080/api"
|
api_base = "http://localhost:8080/api"
|
||||||
|
|
||||||
# a string containing the host name or remote ip address that allows to access to your app.
|
# a string containing the host name or remote ip address that allows to access to your app.
|
||||||
hostname = None
|
host_name = None
|
||||||
# websocket port
|
# websocket port
|
||||||
websocket_port = 0 # 0 means random
|
websocket_port = 0 # 0 means random
|
||||||
|
|
||||||
|
|
2
main.py
2
main.py
|
@ -7,7 +7,7 @@ from grzegorz_clients import api, gui
|
||||||
# config must be a object with the attributes seen in default_config.py:
|
# config must be a object with the attributes seen in default_config.py:
|
||||||
def main(config):
|
def main(config):
|
||||||
start_kwargs = {}
|
start_kwargs = {}
|
||||||
for attr in ("address", "port", "hostname", "websocket_port",
|
for attr in ("address", "port", "host_name", "websocket_port",
|
||||||
"username", "password", "standalone", "start_browser",
|
"username", "password", "standalone", "start_browser",
|
||||||
"multiple_instance", "enable_file_cache"):
|
"multiple_instance", "enable_file_cache"):
|
||||||
assert hasattr(config, attr), f"Config has no attribute {attr!r}!"
|
assert hasattr(config, attr), f"Config has no attribute {attr!r}!"
|
||||||
|
|
Loading…
Reference in New Issue