feat: add matrix redirects
This commit is contained in:
parent
47bd1899ee
commit
d142db7fe4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user