Atualizar app/app.py

This commit is contained in:
2026-08-19 21:54:15 -03:00
parent 8eaa640fe9
commit dd73c8ac38
+16
View File
@@ -396,6 +396,22 @@ def oauth_callback():
db.close()
return redirect("/")
# ================
# LEGAL
# ================
@app.route("/legal/links")
def legal_links():
return jsonify({
"termos": "/legal/termos-de-uso.html",
"privacidade": "/legal/politica-privacidade.html",
"dpa": "/legal/dpa.html",
"cookies": "/legal/politica-cookies.html",
"seguranca": "/legal/politica-seguranca.html",
"consentimento": "/legal/consentimento-treinamento.html",
})
# ================
# ADMIN
# ================