IndexNow key route

This commit is contained in:
2026-09-30 16:57:32 -07:00
parent 035b145f64
commit 3504932f63

5
app.py
View File

@@ -206,6 +206,11 @@ def api_index(): return jsonify(API_INDEX)
@app.route("/robots.txt") @app.route("/robots.txt")
def robots(): return "User-agent: *\nAllow: /\nSitemap: https://dark0rbits.thetempleofdoom.com/sitemap.xml\n", 200, {"Content-Type": "text/plain"} def robots(): return "User-agent: *\nAllow: /\nSitemap: https://dark0rbits.thetempleofdoom.com/sitemap.xml\n", 200, {"Content-Type": "text/plain"}
@app.route("/a8f3dark0rbitskey.txt")
def indexnow_key(): return "a8f3d4rk0rbits9e2b1c7x5k8m2v4q6t8", 200, {"Content-Type": "text/plain"}
INDEXNOW = "a8f3d4rk0rbits9e2b1c7x5k8m2v4q6t8"
@app.route("/sitemap.xml") @app.route("/sitemap.xml")
def sitemap(): def sitemap():
S = "https://dark0rbits.thetempleofdoom.com" S = "https://dark0rbits.thetempleofdoom.com"