From 4c3c98673161eba40c1b50666ac118d4d7410bdd Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 17 Apr 2024 00:42:03 +0530 Subject: [PATCH] fix: remove {} --- scraper/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scraper/src/main.js b/scraper/src/main.js index 1a5330b8..64cec95e 100644 --- a/scraper/src/main.js +++ b/scraper/src/main.js @@ -10,7 +10,7 @@ const corsOptions = { origin: 'http://localhost:5173' } -await fastify.register(cors, {corsOptions}) +await fastify.register(cors, corsOptions) fastify.get('/proxy', async (request, reply) => { const { url } = request.query;