Browse Source

fix headers

kbariotis 4 years ago
parent
commit
e844ef8c34
1 changed files with 6 additions and 18 deletions
  1. 6 18
      vercel.json

+ 6 - 18
vercel.json

@@ -4,24 +4,12 @@
       "src": "/(.*)",
       "dest": "/",
       "status": 301,
-      "headers": [
-        {
-          "key": "Access-Control-Allow-Origin",
-          "value": "*"
-        },
-        {
-          "key": "X-Content-Type-Options",
-          "value": "nosniff"
-        },
-        {
-          "key": "Feature-Policy",
-          "value": "*"
-        },
-        {
-          "key": "Referrer-Policy",
-          "value": "origin"
-        }
-      ]
+      "headers": {
+        "Access-Control-Allow-Origin": "*",
+        "X-Content-Type-Options": "nosniff",
+        "Feature-Policy": "*",
+        "Referrer-Policy": "origin"
+      }
     }
   ]
 }