32 lines
606 B
TypeScript
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
|