[doc] Change CORS_allow_origin default value to angular's default value

This commit is contained in:
missytake 2022-03-05 23:13:01 +01:00
parent 17a62f5378
commit 32a8712805

View file

@ -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.