2020-07-18 13:10:03 +00:00
|
|
|
import json
|
|
|
|
|
|
|
|
|
|
with open("tiny0/config.json", "r") as config_file:
|
|
|
|
|
|
|
|
|
|
config_data = json.load(config_file)
|
|
|
|
|
|
2020-07-20 16:53:18 +00:00
|
|
|
WEBSITE_DOMAIN = config_data.get("WEBSITE_DOMAIN")
|
2020-07-18 13:10:03 +00:00
|
|
|
SECRET_KEY = config_data.get("SECRET_KEY")
|
|
|
|
|
SQLALCHEMY_DATABASE_URI = config_data.get("SQLALCHEMY_DATABASE_URI")
|