feat: add matrix redirects
This commit is contained in:
parent
47bd1899ee
commit
d142db7fe4
|
@ -3,6 +3,15 @@ const nextConfig = {
|
||||||
images: {
|
images: {
|
||||||
domains: ["cdn.sanity.io"],
|
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;
|
module.exports = nextConfig;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user