Atualizar app/app.py
This commit is contained in:
+16
@@ -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
|
||||
# ================
|
||||
|
||||
Reference in New Issue
Block a user