lol
This commit is contained in:
8
config.py
Normal file
8
config.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import os
|
||||
|
||||
class Config:
|
||||
SECRET_KEY = os.environ.get('SECRET_KEY') or os.urandom(24)
|
||||
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or 'postgresql://postgres:1253@localhost:5432/verpotjelot'
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
UPLOAD_FOLDER = 'static/uploads'
|
||||
MAX_CONTENT_LENGTH = 2 * 1024 * 1024 # 2MB max file size
|
||||
Reference in New Issue
Block a user