add matrix well-known files

This commit is contained in:
Lance Vick 2023-07-26 00:15:02 -07:00
parent 42ad0cd6cb
commit 2b3d8da0a5
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
3 changed files with 21 additions and 1 deletions

View File

@ -31,6 +31,13 @@ credentials: \
$(KEY_DIR)/%.asc: $(KEY_DIR)/%.asc:
$(call fetch_pgp_key,$(basename $(notdir $@))) $(call fetch_pgp_key,$(basename $(notdir $@)))
$(OUT_DIR)/website/.well-known/matrix/server \
$(OUT_DIR)/website/.well-known/matrix/server:
mkdir -p $(OUT_DIR)/website/.well-known/matrix
cp -R \
$(SRC_DIR)/well-known/matrix/* \
$(OUT_DIR)/website/.well-known/matrix/
$(OUT_DIR)/website/.well-known/openpgpkey: $(OUT_DIR)/website/.well-known/openpgpkey:
$(call toolchain," \ $(call toolchain," \
sq wkd \ sq wkd \
@ -39,7 +46,9 @@ $(OUT_DIR)/website/.well-known/openpgpkey:
") ")
$(OUT_DIR)/website/index.html: \ $(OUT_DIR)/website/index.html: \
$(OUT_DIR)/website/.well-known/openpgpkey $(OUT_DIR)/website/.well-known/openpgpkey \
$(OUT_DIR)/website/.well-known/matrix/server \
$(OUT_DIR)/website/.well-known/matrix/client
$(call toolchain," \ $(call toolchain," \
cd $(SRC_DIR)/website \ cd $(SRC_DIR)/website \
&& jekyll build \ && jekyll build \

View File

@ -0,0 +1,8 @@
{
"m.homeserver": {
"base_url": "https://distrust.ems.host"
},
"m.identity_server": {
"base_url": "https://vector.im"
}
}

View File

@ -0,0 +1,3 @@
{
"m.server": "distrust.ems.host:443"
}