mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-14 04:55:58 -05:00
41 lines
714 B
JavaScript
41 lines
714 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: 'github.githubassets.com',
|
|
port: '',
|
|
pathname: '/images/**'
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.discordapp.com',
|
|
port: '',
|
|
pathname: '/avatars/**'
|
|
}
|
|
]
|
|
}
|
|
};
|
|
|
|
export default nextConfig;
|