load dotenv

master
km0 2 years ago
parent 2f7d25bbb7
commit df29593254

@ -18,6 +18,8 @@ from pathlib import Path
dotenv_path = Path("/var/www/.mw-credentials") dotenv_path = Path("/var/www/.mw-credentials")
load_dotenv(dotenv_path=dotenv_path) load_dotenv(dotenv_path=dotenv_path)
# load the configuration env
load_dotenv()
# prefix to add /soupboat/padliography to all the routes # prefix to add /soupboat/padliography to all the routes
# and to leave the @app.route() decorator more clean # and to leave the @app.route() decorator more clean

Loading…
Cancel
Save