1st push
This commit is contained in:
parent
501d8a8d8e
commit
3226975910
76 changed files with 48623 additions and 3401 deletions
24
next.config-ex.mjs
Normal file
24
next.config-ex.mjs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
import withBundleAnalyzer from "@next/bundle-analyzer"
|
||||
import withPlugins from "next-compose-plugins"
|
||||
import { env } from "./env.mjs"
|
||||
|
||||
|
||||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
|
||||
|
||||
const config = withPlugins([[withBundleAnalyzer({ enabled: env.ANALYZE })]], {
|
||||
reactStrictMode: true,
|
||||
experimental: { instrumentationHook: true },
|
||||
rewrites() {
|
||||
return [
|
||||
{ source: "/healthz", destination: "/api/health" },
|
||||
{ source: "/api/healthz", destination: "/api/health" },
|
||||
{ source: "/health", destination: "/api/health" },
|
||||
{ source: "/ping", destination: "/api/health" },
|
||||
]
|
||||
},
|
||||
})
|
||||
|
||||
export default config
|
||||
Loading…
Add table
Add a link
Reference in a new issue