From dfd86a5388e6b3c919d5746cdf9739701f944684 Mon Sep 17 00:00:00 2001 From: dankelleher Date: Sat, 29 Jun 2024 06:28:53 +0200 Subject: [PATCH] Fix vercel.json --- vercel.json | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/vercel.json b/vercel.json index 8c98363d..907bb66b 100644 --- a/vercel.json +++ b/vercel.json @@ -2,30 +2,25 @@ "installCommand": "yarn install --network-concurrency 2", "buildCommand": "yarn build", "outputDirectory": "packages/app/build", - "projects": [ + "headers": [ { - "path": "packages/app", + "source": "/actions.json", "headers": [ { - "source": "/actions.json", - "headers": [ - { - "key": "Access-Control-Allow-Origin", - "value": "*" - }, - { - "key": "Access-Control-Allow-Methods", - "value": "GET,POST,PUT,OPTIONS" - }, - { - "key": "Access-Control-Allow-Headers", - "value": "Content-Type, Authorization, Content-Encoding, Accept-Encoding" - }, - { - "key": "Content-Type", - "value": "application/json" - } - ] + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,POST,PUT,OPTIONS" + }, + { + "key": "Access-Control-Allow-Headers", + "value": "Content-Type, Authorization, Content-Encoding, Accept-Encoding" + }, + { + "key": "Content-Type", + "value": "application/json" } ] }