Add matrix.badmanners.xyz discoverability

This commit is contained in:
Bad Manners 2024-09-01 09:32:36 -03:00
parent 790ba15725
commit 3804cbe39e
No known key found for this signature in database
GPG key ID: 8C88292CCB075609
7 changed files with 40 additions and 8 deletions

3
public/.htaccess Normal file
View file

@ -0,0 +1,3 @@
<Files "site.webmanifest">
ForceType application/json
</Files>

View file

@ -0,0 +1,6 @@
<Files "webfinger">
ForceType application/json
Header add Access-Control-Allow-Origin *
Header add Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type, Authorization"
</Files>

View file

@ -0,0 +1,12 @@
<Files "server">
ForceType application/json
Header add Access-Control-Allow-Origin *
Header add Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type, Authorization"
</Files>
<Files "client">
ForceType application/json
Header add Access-Control-Allow-Origin *
Header add Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS"
Header add Access-Control-Allow-Headers "X-Requested-With, Content-Type, Authorization"
</Files>

View file

@ -0,0 +1,8 @@
{
"m.homeserver": {
"base_url": "https://matrix.badmanners.xyz"
},
"org.matrix.msc3575.proxy": {
"url": "https://matrix.badmanners.xyz"
}
}

View file

@ -0,0 +1,3 @@
{
"m.server": "matrix.badmanners.xyz:443"
}