Capital/next.config.ts
2025-01-04 18:24:23 +08:00

32 lines
606 B
TypeScript

import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
/* config options here */
reactStrictMode: true,
generateBuildId: async () => {
return process.env.GIT_HASH ?? 'development'
},
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'raw.sn.solsynth.dev',
},
{
protocol: 'https',
hostname: 'api.sn.solsynth.dev',
},
],
},
async rewrites() {
return [
{
source: '/.well-known/:path*',
destination: '/api/well-known/:path*',
},
]
},
}
export default nextConfig