diff --git a/main.py b/main.py index efe94912831666391608a4be1e5c45b7558725bc..012c32c4c17a5dfb9c151173442adac3c410fef4 100644 --- a/main.py +++ b/main.py @@ -25,7 +25,7 @@ from api import apiGet,apiPost #Scripts to handle the API domain_to_index = {} try: - domain = environ["domains"].split(";") #Get the domains from the enviorement variable. If no enviorement variable is set it will be set to 127.0.0.1:5000 (for testing) + domain = environ["domains"].split(";") #Get the domains from the enviorement variable. If no enviorement variable is set it will be set to 127.0.0.1:5000 and localhost:5000 (for testing) except: domain = ["localhost:5000", "127.0.0.1:5000"]