pranit144's picture
Upload 84 files
07629a7 verified
raw
history blame contribute delete
332 Bytes
import os
from flask import Flask
app = Flask(__name__)
# Get the secret key from the environment variable, or use a default for development
app.secret_key = os.getenv('FLASK_SECRET_KEY', os.urandom(24))
# Print the secret key for debugging purposes (not recommended in production)
print("Secret Key:", app.secret_key)