浏览代码

return async from header

Abhinav-grd 3 年之前
父节点
当前提交
216b83b34f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      next.config.js

+ 1 - 1
next.config.js

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