feat: Yandex Webmaster verification file
This commit is contained in:
@@ -845,6 +845,16 @@ def health():
|
||||
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")
|
||||
def contact():
|
||||
import re as _re
|
||||
|
||||
Reference in New Issue
Block a user