Files
Firefly_Sranalysis/next.config.ts
2025-04-23 20:52:01 +07:00

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);