feat: Add rss endpoints
All checks were successful
Build Docker / BuildImage (push) Successful in 1m42s

This commit is contained in:
2024-11-12 14:08:30 +11:00
parent 42aff1f455
commit 637562f920
2 changed files with 16 additions and 3 deletions

View File

@@ -411,11 +411,8 @@ def email():
"status": 401,
"error": "Unauthorized 'key' invalid"
})
return sendEmail(data)
#endregion
@@ -673,6 +670,8 @@ def now_old():
)
@app.route("/now.rss")
@app.route("/now.xml")
@app.route("/rss.xml")
def now_rss():
host = "https://" + request.host
if ":" in request.host: