This commit is contained in:
2025-01-21 18:46:15 +08:00
parent a0b0082b76
commit c5f0f4bf46
4 changed files with 62 additions and 2 deletions
+1
View File
@@ -7,6 +7,7 @@ import os
app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///site.db'
app.config['SECRET_KEY'] = 'supersecretkey'
UPLOAD_FOLDER = os.path.join(os.getcwd(), 'uploads')
db = SQLAlchemy(app)
bcrypt = Bcrypt(app)