Make config production ready
This commit is contained in:
parent
2663d5e3b7
commit
d8044a7c76
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user