1
0
forked from finn/site
This commit is contained in:
2024-08-01 06:35:28 -07:00
parent 76b20a3b38
commit 3162b662b5
14 changed files with 342 additions and 4 deletions

View File

@@ -1,7 +1,11 @@
import os
basedir = os.path.abspath(os.path.dirname(__file__))
# Remove or fallbacks for prod
class Config:
SECRET_KEY = os.environ.get('FLASK_SECRET_KEY') or 'flasksk'
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'zapp.db')
#SQLALCHEMY_DATABASE_URI = 'db'