24 lines
421 B
JavaScript
24 lines
421 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: "/api/:path*",
|
|
headers: [
|
|
{
|
|
key: "Content-Type",
|
|
value: "application/vnd.api+json"
|
|
},
|
|
{
|
|
key: "x-testing",
|
|
value: "true"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
module.exports = nextConfig
|