add missing redirects as per issue
This commit is contained in:
@@ -1,6 +1,55 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
|
async redirects() {
|
||||||
|
return [
|
||||||
|
{
|
||||||
|
source: "/discord",
|
||||||
|
destination: "https://discord.gg/NBXq95C",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/dc",
|
||||||
|
destination: "/discord",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/dsc",
|
||||||
|
destination: "/discord",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/github",
|
||||||
|
destination: "https://github.com/gractwo",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/gh",
|
||||||
|
destination: "/github",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/youtube",
|
||||||
|
destination: "https://www.youtube.com/channel/UCM5O0ltiO_ZigZiP-Wa28Ew",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/yt",
|
||||||
|
destination: "/youtube",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/twitter",
|
||||||
|
destination: "https://twitter.com/gractwo",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
source: "/twt",
|
||||||
|
destination: "/twitter",
|
||||||
|
statusCode: 307,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = nextConfig;
|
module.exports = nextConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user