Make config production ready

This commit is contained in:
Vivek Santayana 2022-06-20 12:27:32 +01:00
parent 3025e83b66
commit 8b0ea1fec3

View File

@ -1,9 +1,7 @@
import os
from pathlib import Path
if not os.getenv('DATA'):
from dotenv import load_dotenv
load_dotenv('../.env')
from dotenv import load_dotenv
load_dotenv('../.env')
class Config(object):
APP_HOST = '0.0.0.0'