Skip to content

Commit

Permalink
Add .well-known endpoint for matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
russss committed Nov 20, 2023
1 parent 6f3ec43 commit 67a457b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apps/base/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ def security_txt():
return """Contact: [email protected]\n"""


@base.route("/.well-known/matrix/server")
def matrix_server():
return {"m.server": "matrix.emfcamp.org:443"}


@base.route("/subscribe")
def subscribe():
return render_template("subscribe.html")
Expand Down

0 comments on commit 67a457b

Please sign in to comment.