diff --git a/kibicara/config.py b/kibicara/config.py index e75dc28..3f1e39b 100644 --- a/kibicara/config.py +++ b/kibicara/config.py @@ -26,7 +26,7 @@ from pytoml import load config = { 'database_connection': 'sqlite:////tmp/kibicara.sqlite', - 'frontend_url': 'http://127.0.0.1:4200', # url of frontend, change in prod + 'frontend_url': 'http://localhost:4200', # url of frontend, change in prod 'secret': random(SecretBox.KEY_SIZE).hex(), # generate with: openssl rand -hex 32 # production params 'frontend_path': None, # required, path to frontend html/css/js files @@ -36,7 +36,7 @@ config = { 'certfile': None, # optional for ssl # dev params 'root_url': 'http://localhost:8000', # url of backend - 'cors_allow_origin': 'http://127.0.0.1:4200', + 'cors_allow_origin': 'http://localhost:4200', } """Default configuration.