Make sending Matrix requests easier
This commit is contained in:
@@ -6,12 +6,12 @@ import vona.globals as globals
|
||||
import vona.config as config
|
||||
import time
|
||||
|
||||
|
||||
hammerhead = Blueprint("hammerhead", __name__)
|
||||
|
||||
# Hammerhead endpoints. Not documented, but code is at:
|
||||
# https://codeberg.org/timedout/hammerhead/src/branch/dev/hammerhead/router/routes/hammerhead
|
||||
|
||||
|
||||
@hammerhead.route("/_hammerhead/uptime")
|
||||
async def uptime():
|
||||
return jsonify({"started_at": config.the_funny_number})
|
||||
|
||||
Reference in New Issue
Block a user