Browse Source

vercel.json

Jimmy Chion 3 years ago
parent
commit
cbf0475a79
2 changed files with 25 additions and 20 deletions
  1. 1 20
      next.config.js
  2. 24 0
      vercel.json

+ 1 - 20
next.config.js

@@ -1,22 +1,3 @@
 module.exports = {
   reactStrictMode: true,
-  headers: [
-    {
-      "source": "/(.*)",
-      "headers" : [
-        {
-          "key" : "X-Content-Type-Options",
-          "value" : "nosniff"
-        },
-        {
-          "key" : "X-Frame-Options",
-          "value" : "DENY"
-        },
-        {
-          "key" : "X-XSS-Protection",
-          "value" : "1; mode=block"
-        }
-      ]
-    }
-  ]
-}
+};

+ 24 - 0
vercel.json

@@ -0,0 +1,24 @@
+{
+  "github": {
+      "silent": true
+  },
+  "headers": [
+    {
+      "source": "/(.*)",
+      "headers" : [
+        {
+          "key" : "X-Content-Type-Options",
+          "value" : "nosniff"
+        },
+        {
+          "key" : "X-Frame-Options",
+          "value" : "DENY"
+        },
+        {
+          "key" : "X-XSS-Protection",
+          "value" : "1; mode=block"
+        }
+      ]
+    }
+  ]
+}