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