Parcourir la source

Update vercel.json

tae-bot il y a 9 mois
Parent
commit
e9ae44a655
1 fichiers modifiés avec 6 ajouts et 2 suppressions
  1. 6 2
      vercel.json

+ 6 - 2
vercel.json

@@ -10,7 +10,11 @@
     "routes": [
      {
       "src": "/(.*)",
-      "dest": "/"
+      "dest": "./bin/www",
+      "methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
+      "headers": {
+        "Access-Control-Allow-Origin": "*"
+      }
      }
     ]
-   }
+   }