init
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m31s

This commit is contained in:
2025-07-01 09:33:43 +07:00
parent 3a26f09a01
commit 331aba4489
156 changed files with 1206219 additions and 146 deletions

View File

@@ -1,7 +1,42 @@
import createNextIntlPlugin from "next-intl/plugin";
import type { NextConfig } from "next";
const withNextIntl = createNextIntlPlugin()
const nextConfig: NextConfig = {
/* config options here */
reactStrictMode: false,
output: 'standalone',
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'localhost',
pathname: '**',
},
{
protocol: 'http',
hostname: 'localhost',
pathname: '**',
},
{
protocol: 'https',
hostname: 'api.hakush.in',
pathname: '**',
},
],
},
eslint: {
ignoreDuringBuilds: true,
},
async rewrites() {
return [
{
source: '/api/character/:id',
destination: 'https://api.hakush.in/hsr/data/en/character/:id.json',
},
];
},
};
export default nextConfig;
export default withNextIntl(nextConfig);