mirror of
https://github.com/Xevion/v1.xevion.dev.git
synced 2025-12-10 08:09:05 -06:00
hidden url config
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
import os
|
||||
basedir = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
with open('hidden', 'r') as hidden:
|
||||
hidden = hidden.read()
|
||||
|
||||
with open('key', 'r') as key:
|
||||
key = key.read()
|
||||
|
||||
class Config(object):
|
||||
HIDDEN_URL = hidden
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY') or key
|
||||
TEMPLATES_AUTO_RELOAD=True
|
||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
|
||||
|
||||
Reference in New Issue
Block a user