Skip to content

Commit d16746d

Browse files
committed
Skip CSP headers in local development so sign-in can hydrate.
1 parent 43fab0c commit d16746d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

next.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ const nextConfig = {
3131
];
3232
},
3333
async headers() {
34+
if (process.env.NODE_ENV !== "production") {
35+
return [];
36+
}
3437
return [
3538
{
3639
source: "/:path*",

0 commit comments

Comments
 (0)