From aed364fe6a02102fa092bfed72762aff1d6a4427 Mon Sep 17 00:00:00 2001 From: lucaslah <47047328+Lucaslah@users.noreply.github.com> Date: Thu, 16 Dec 2021 11:19:55 +1300 Subject: [PATCH] Add header --- client/vercel.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/vercel.json b/client/vercel.json index 729c638..4b077f2 100644 --- a/client/vercel.json +++ b/client/vercel.json @@ -6,7 +6,10 @@ }, { "src": "/api/(.*)", - "dest": "https://stone.cssudii.tk/matrix/api/$1" + "dest": "https://stone.cssudii.tk/matrix/api/$1", + "headers": { + "Access-Control-Allow-Headers": "*" + } } ] }