mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-20 07:57:21 -05:00
35 lines
595 B
JavaScript
35 lines
595 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
import { getLocaleList } from './utils/locale.js';
|
|
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
i18n: {
|
|
locales: getLocaleList(),
|
|
defaultLocale: 'en-US',
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'github.com',
|
|
port: '',
|
|
pathname: '/*'
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'avatars.githubusercontent.com',
|
|
port: '',
|
|
pathname: '/u/*'
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.discordapp.com',
|
|
port: '',
|
|
pathname: '/avatars/*'
|
|
}
|
|
]
|
|
}
|
|
};
|
|
|
|
export default nextConfig;
|