IndexNow key route
This commit is contained in:
5
app.py
5
app.py
@@ -206,6 +206,11 @@ def api_index(): return jsonify(API_INDEX)
|
||||
@app.route("/robots.txt")
|
||||
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")
|
||||
def sitemap():
|
||||
S = "https://dark0rbits.thetempleofdoom.com"
|
||||
|
||||
Reference in New Issue
Block a user