From 6355732f934d83ae482ffa058a6f96fffbe9ce04 Mon Sep 17 00:00:00 2001 From: mushan0x0 Date: Sun, 31 Dec 2023 01:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Cross-origin=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vercel.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vercel.json diff --git a/vercel.json b/vercel.json new file mode 100644 index 0000000..75f4e87 --- /dev/null +++ b/vercel.json @@ -0,0 +1,14 @@ +{ + "name": "pollinations-drawing", + "routes": [ + { + "src": "/gateway", + "headers": { + "cache-control": "no-cache, no-store, must-revalidate", + "Access-Control-Allow-Origin": "*" + }, + "dest": "/api/gateway/" + } + ], + "version": 1 +}