docker support

This commit is contained in:
Tyler
2025-05-18 00:38:15 -10:00
committed by GitHub
parent da0ab0f042
commit 1fd15b40f3
2 changed files with 23 additions and 1 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ from cryptography.fernet import Fernet
# ===== Application Configuration =====
app = Flask(__name__)
app.secret_key = os.getenv("FLASK_SECRET", os.urandom(24))
CORS(app)
CORS(app, origins=["https://pdf.unnaturalll.dev"])
# ===== Constants =====
ADMIN_CRED_FILE = 'admin_creds.json'