Compare commits

..

2 Commits

Author SHA1 Message Date
Tom Alexander
2781f8f726 Disable quirks mode for html.
All checks were successful
semver Build semver has succeeded
build-homepage Build build-homepage has succeeded
2023-08-27 21:34:35 -04:00
Tom Alexander
3343a338e2 Add CORS header to well-known matrix endpoints.
All checks were successful
semver Build semver has succeeded
build-homepage Build build-homepage has succeeded
2023-08-10 14:44:00 -04:00
2 changed files with 3 additions and 0 deletions

View File

@@ -40,11 +40,13 @@ http {
location /.well-known/matrix/server {
default_type application/json;
add_header "Access-Control-Allow-Origin" *;
return 200 '{"m.server": "matrix.fizz.buzz:8448"}';
}
location /.well-known/matrix/client {
default_type application/json;
add_header "Access-Control-Allow-Origin" *;
return 200 '{"m.homeserver":{"base_url": "https://matrix.fizz.buzz"}}';
}
}

View File

@@ -1,3 +1,4 @@
<!doctype html>
<html>
<head>
<title>FizzBuzz</title>