38 lines
781 B
TypeScript
38 lines
781 B
TypeScript
|
|
import createNextIntlPlugin from "next-intl/plugin";
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
const withNextIntl = createNextIntlPlugin()
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: false,
|
|
output: 'standalone',
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'localhost',
|
|
pathname: '**',
|
|
},
|
|
{
|
|
protocol: 'http',
|
|
hostname: 'localhost',
|
|
pathname: '**',
|
|
}
|
|
],
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/api/hakushin',
|
|
destination: 'https://api.hakush.in/hsr/data/character.json',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|