19 lines
382 B
JavaScript
19 lines
382 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
}
|
|
|
|
module.exports = nextConfig
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
const { setupDevBindings } = require('@cloudflare/next-on-pages/next-dev')
|
|
setupDevBindings({
|
|
bindings: {
|
|
UPTIMEFLARE_STATE: {
|
|
type: 'kv',
|
|
id: 'UPTIMEFLARE_STATE',
|
|
},
|
|
},
|
|
})
|
|
}
|