Browse Source

return async from header

Abhinav-grd 3 years ago
parent
commit
216b83b34f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      next.config.js

+ 1 - 1
next.config.js

@@ -42,7 +42,7 @@ module.exports = withSentryConfig(
                 return config;
             },
 
-            async headers() {
+            headers() {
                 return [
                     {
                         // Apply these headers to all routes in your application....