Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Use envar instead of hard-coding config #1

Open
Weilbyte opened this issue Jul 19, 2020 · 0 comments
Open

Use envar instead of hard-coding config #1

Weilbyte opened this issue Jul 19, 2020 · 0 comments

Comments

@Weilbyte
Copy link

Simple suggestion, but maybe config could be done via env vars without having to edit the app.py file for configuring stuff like these => https://github.com/calliapp/server/blob/main/app.py#L27

import os 
...
os.getenv("BASE_URL", "https://calliapp.dev")

for example.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant