From c5a297f7951183b2a205b4c39e3e4a488addeff6 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 7 Feb 2019 19:28:19 +0000 Subject: [PATCH] Add matrix well-known file --- scripts/build.sh | 4 +++- static/matrix.json | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 static/matrix.json diff --git a/scripts/build.sh b/scripts/build.sh index 0a3e7ef..e57454f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -26,5 +26,7 @@ hugo gen chromastyles --style=tango > $STATIC_BUILD/css/highlight.css hugo -vDEF --stepAnalysis --gc $HUGO_ARGS -mkdir -p $OUTPUT_DIR/.well-known/ cp $BASEDIR/static/keybase.txt $OUTPUT_DIR/keybase.txt + +mkdir -p $OUTPUT_DIR/.well-known/matrix +cp $BASEDIR/static/matrix.json $OUTPUT_DIR/.well-known/matrix/server diff --git a/static/matrix.json b/static/matrix.json new file mode 100644 index 0000000..c1991cd --- /dev/null +++ b/static/matrix.json @@ -0,0 +1 @@ +{"m.server": "matrix.jakehoward.tech:443"}