2021-11-03 22:46:45 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
2022-03-28 21:51:41 +00:00
|
|
|
|
|
|
|
/* CONFIG */
|
|
|
|
|
|
|
|
const locales = ["en", "fr", "ja", "es", "pt-br"];
|
|
|
|
|
|
|
|
/* END CONFIG */
|
|
|
|
|
2021-11-03 22:46:45 +00:00
|
|
|
module.exports = {
|
2022-02-17 21:39:38 +00:00
|
|
|
swcMinify: true,
|
2021-11-03 22:46:45 +00:00
|
|
|
reactStrictMode: true,
|
2021-11-06 16:47:20 +00:00
|
|
|
i18n: {
|
2022-03-28 21:51:41 +00:00
|
|
|
locales: locales,
|
2022-02-16 18:44:05 +00:00
|
|
|
defaultLocale: "en",
|
2021-12-23 22:20:47 +00:00
|
|
|
},
|
|
|
|
images: {
|
2022-02-19 04:28:04 +00:00
|
|
|
domains: ["img.accords-library.com"],
|
2021-12-23 22:20:47 +00:00
|
|
|
},
|
2022-03-28 21:51:41 +00:00
|
|
|
serverRuntimeConfig: {
|
|
|
|
locales: locales,
|
|
|
|
},
|
2022-02-14 04:49:43 +00:00
|
|
|
async redirects() {
|
|
|
|
return [
|
|
|
|
{
|
2022-02-16 18:44:05 +00:00
|
|
|
source: "/discord",
|
|
|
|
destination: "https://discord.com/invite/5mcXcRAczj",
|
2022-02-14 04:49:43 +00:00
|
|
|
permanent: false,
|
|
|
|
},
|
2022-02-16 18:44:05 +00:00
|
|
|
];
|
2022-02-14 04:49:43 +00:00
|
|
|
},
|
2022-02-16 18:44:05 +00:00
|
|
|
};
|