This commit is contained in:
2022-08-27 08:14:10 -05:00
parent f65ae56f74
commit 696ca6a393
9 changed files with 101 additions and 77 deletions

View File

@@ -1,6 +1,23 @@
/** @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