Compare commits
8 commits
48b177d51e
...
f66375cd77
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f66375cd77 | ||
|
|
f2db6d4409 | ||
|
|
9933ce94bf | ||
|
|
b11db3808e | ||
|
|
f4e5f828a3 | ||
|
|
0a3d41ac03 | ||
|
|
23712f119e | ||
|
|
be665a282e |
|
|
@ -26,7 +26,7 @@ from pytoml import load
|
|||
|
||||
config = {
|
||||
'database_connection': 'sqlite:////tmp/kibicara.sqlite',
|
||||
'frontend_url': 'http://localhost:4200', # url of frontend, change in prod
|
||||
'frontend_url': 'http://127.0.0.1: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://localhost:4200',
|
||||
'cors_allow_origin': 'http://127.0.0.1:4200',
|
||||
}
|
||||
"""Default configuration.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue