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

12
package-lock.json generated
View file

@ -1,19 +1,19 @@
{
"name": "badmanners.xyz",
"version": "2.1.10",
"version": "2.1.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "badmanners.xyz",
"version": "2.1.10",
"version": "2.1.11",
"hasInstallScript": true,
"dependencies": {
"@astrojs/check": "^0.9.2",
"@astrojs/rss": "^4.0.7",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.13.3",
"astro-htaccess": "^0.1.2",
"astro-htaccess": "^0.2.0",
"date-fns": "^3.6.0",
"tailwindcss": "^3.4.9",
"tippy.js": "^6.3.7",
@ -2239,9 +2239,9 @@
}
},
"node_modules/astro-htaccess": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/astro-htaccess/-/astro-htaccess-0.1.2.tgz",
"integrity": "sha512-ki0y7bjhfeocMkPefQA7OT/BsFMYu6hgljkiK2No58FMgALn9w/nj+N9NMWykHMUe9pHUa209/EVtOuoO5UkQw==",
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/astro-htaccess/-/astro-htaccess-0.2.0.tgz",
"integrity": "sha512-2QCike5DRkeBfbvkhBXkaRw18WkOLu7+jo7GSrlBPc8lcfk0BipXsGl8ggv5MCcDEt1iADdki9V5W4XecA0T7w==",
"license": "MIT",
"peerDependencies": {
"astro": "^4.0.0"

View file

@ -1,7 +1,7 @@
{
"name": "badmanners.xyz",
"type": "module",
"version": "2.1.10",
"version": "2.1.11",
"scripts": {
"postinstall": "astro sync",
"dev": "astro dev",
@ -19,7 +19,7 @@
"@astrojs/rss": "^4.0.7",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.13.3",
"astro-htaccess": "^0.1.2",
"astro-htaccess": "^0.2.0",
"date-fns": "^3.6.0",
"tailwindcss": "^3.4.9",
"tippy.js": "^6.3.7",

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"
}