38 lines
783 B
JavaScript
38 lines
783 B
JavaScript
/* CONFIG */
|
|
|
|
const locales = ["en", "es", "fr", "pt-br", "ja", "zh"];
|
|
|
|
/* END CONFIG */
|
|
|
|
/* @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
reactStrictMode: true,
|
|
poweredByHeader: false,
|
|
i18n: {
|
|
locales: locales,
|
|
defaultLocale: "en",
|
|
},
|
|
images: {
|
|
domains: ["img.accords-library.com", "watch.accords-library.com"],
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: "/discord",
|
|
destination: "https://discord.com/invite/5mcXcRAczj",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/gallery",
|
|
destination: "https://gallery.accords-library.com/posts",
|
|
permanent: false,
|
|
},
|
|
{
|
|
source: "/contents/folder",
|
|
destination: "/contents",
|
|
permanent: false,
|
|
},
|
|
];
|
|
},
|
|
};
|