Capital/next.config.ts

32 lines
606 B
TypeScript
Raw Normal View History

2025-01-02 14:40:56 +00:00
import type { NextConfig } from 'next'
2025-01-01 12:10:22 +00:00
const nextConfig: NextConfig = {
/* config options here */
reactStrictMode: true,
2025-01-04 05:54:39 +00:00
generateBuildId: async () => {
return process.env.GIT_HASH ?? 'development'
},
2025-01-02 14:40:56 +00:00
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'raw.sn.solsynth.dev',
},
{
protocol: 'https',
hostname: 'api.sn.solsynth.dev',
},
],
2025-01-02 14:40:56 +00:00
},
2025-01-04 10:24:23 +00:00
async rewrites() {
return [
{
source: '/.well-known/:path*',
destination: '/api/well-known/:path*',
},
]
},
2025-01-02 14:40:56 +00:00
}
2025-01-01 12:10:22 +00:00
2025-01-02 14:40:56 +00:00
export default nextConfig