From f8b2acc696564995b3a4ac1f6651255b787b9909 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Fri, 3 May 2024 10:56:46 +0300 Subject: [PATCH] Move matrix homeserver files to `static` directory --- Justfile | 6 ------ static/.well-known/matrix/client | 1 + static/.well-known/matrix/server | 1 + 3 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 static/.well-known/matrix/client create mode 100644 static/.well-known/matrix/server diff --git a/Justfile b/Justfile index 92d15eb..861e1ec 100644 --- a/Justfile +++ b/Justfile @@ -10,12 +10,6 @@ OUT_DIR := "public" git checkout -B gh-pages touch .nojekyll - # Create matrix homeserver files - # Remove it or change it to your server - mkdir -p .well-known/matrix/ - echo '{"m.homeserver": {"base_url": "https://matrix.4rs.nl}}' > .well-known/matrix/client - echo '{"m.server": "matrix.4rs.nl:443"}' > .well-known/matrix/server - git add . git commit -m "Deploy blog to github pages" git remote add origin $(git --git-dir ../.git remote get-url github) diff --git a/static/.well-known/matrix/client b/static/.well-known/matrix/client new file mode 100644 index 0000000..bc1a02c --- /dev/null +++ b/static/.well-known/matrix/client @@ -0,0 +1 @@ +{"m.homeserver": {"base_url": "https://matrix.4rs.nl"}} diff --git a/static/.well-known/matrix/server b/static/.well-known/matrix/server new file mode 100644 index 0000000..f6c0d5c --- /dev/null +++ b/static/.well-known/matrix/server @@ -0,0 +1 @@ +{"m.server": "matrix.4rs.nl:443"}