diff --git a/next.config.js b/next.config.js index 3dcc307..2e34c74 100644 --- a/next.config.js +++ b/next.config.js @@ -3,6 +3,15 @@ const nextConfig = { images: { domains: ["cdn.sanity.io"], }, + async redirects() { + return [ + { + source: "/.well-known/matrix/:slug*", + destination: "https://matrix.jackmerrill.com/.well-known/matrix/:slug*", + permanent: true, + }, + ]; + }, }; module.exports = nextConfig;