mirror of
https://github.com/kevinveenbirkenbach/homepage.veen.world.git
synced 2025-01-15 19:23:58 +01:00
Pulled app.py
This commit is contained in:
parent
9d510ec8fb
commit
9aaf86a33c
@ -4,7 +4,6 @@ import requests
|
|||||||
import hashlib
|
import hashlib
|
||||||
import yaml
|
import yaml
|
||||||
from utils.configuration_resolver import ConfigurationResolver
|
from utils.configuration_resolver import ConfigurationResolver
|
||||||
from pprint import pprint
|
|
||||||
from utils.cache_manager import CacheManager
|
from utils.cache_manager import CacheManager
|
||||||
|
|
||||||
# Initialize the CacheManager
|
# Initialize the CacheManager
|
||||||
@ -35,9 +34,6 @@ FLASK_ENV = os.getenv("FLASK_ENV", "production")
|
|||||||
def reload_config_in_dev():
|
def reload_config_in_dev():
|
||||||
if FLASK_ENV == "development":
|
if FLASK_ENV == "development":
|
||||||
load_config(app)
|
load_config(app)
|
||||||
print("DEVELOPMENT ENVIRONMENT")
|
|
||||||
else:
|
|
||||||
print("PRODUCTIVE ENVIRONMENT")
|
|
||||||
|
|
||||||
# Cache the icons
|
# Cache the icons
|
||||||
for card in app.config["cards"]:
|
for card in app.config["cards"]:
|
||||||
|
Loading…
Reference in New Issue
Block a user