mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-22 02:54:52 +00:00
Adding login system
This commit is contained in:
parent
36be8993df
commit
27bf6f64ef
6 changed files with 51 additions and 11 deletions
|
@ -1,3 +1,12 @@
|
|||
import os
|
||||
|
||||
# Purely to make the code a bit more readable
|
||||
def env(key):
|
||||
return os.getenv(key)
|
||||
|
||||
|
||||
SECRET_KEY = env("FLASK_KEY")
|
||||
|
||||
SQLALCHEMY_DATABASE_URI = 'sqlite:///site.db'
|
||||
|
||||
MIGRATION_DIR = "/data/storage/migrations"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue