Files
nextjs-server-fetching/examples/data-fetching/next.config.js
2024-01-15 23:13:55 +01:00

16 lines
335 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
// Avoiding CORS issues
// async rewrites() {
// return [
// {
// source: '/api/:slug*',
// destination: 'http://localhost:3000/api/:slug*'
// }
// ]
// }
}
module.exports = nextConfig