diff --git a/functions/_redirects b/functions/_redirects
new file mode 100644
index 0000000..2e582ea
--- /dev/null
+++ b/functions/_redirects
@@ -0,0 +1,2 @@
+/.well-known/matrix/client /.well-known/matrix/client.json 200
+/.well-known/matrix/server /.well-known/matrix/server.json 200
\ No newline at end of file
diff --git a/public/.well-known/matrix/client b/public/.well-known/matrix/client.json
similarity index 100%
rename from public/.well-known/matrix/client
rename to public/.well-known/matrix/client.json
diff --git a/public/.well-known/matrix/server b/public/.well-known/matrix/server.json
similarity index 100%
rename from public/.well-known/matrix/server
rename to public/.well-known/matrix/server.json