feat: Yandex Webmaster verification file

This commit is contained in:
2026-05-15 15:45:36 +03:00
parent 61f1338405
commit 1a8dd74be6
+10
View File
@@ -845,6 +845,16 @@ def health():
return {"status": "ok"} return {"status": "ok"}
@bp.get("/yandex_8addde0be1e0ee72.html")
def yandex_verify():
from flask import Response
return Response(
'<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head>'
'<body>Verification: 8addde0be1e0ee72</body></html>',
mimetype="text/html"
)
@bp.post("/api/contact") @bp.post("/api/contact")
def contact(): def contact():
import re as _re import re as _re