update app.py to provide nonce
All checks were successful
Docker Build and Publish / build (release) Successful in 6s

This commit is contained in:
Tanishq Dubey 2025-01-31 18:41:44 -05:00
parent 3e11c63e33
commit 0436d6e24a

1
app.py
View File

@ -331,6 +331,7 @@ def admin():
photos=photos,
accent_color=config["appearance"]["accent_color"],
config=config,
nonce=g.csp_nonce,
)
@app.route("/admin/logout")