21 lines
347 B
TypeScript
21 lines
347 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
poweredByHeader: false,
|
|
images: {
|
|
unoptimized: false,
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/openapi.json',
|
|
destination: '/api/openapi',
|
|
},
|
|
]
|
|
},
|
|
}
|
|
|
|
export default nextConfig
|
|
|