From 28b988d2d1c450ff7114da17ade1e6a175815536 Mon Sep 17 00:00:00 2001 From: "gabriel.amancio" Date: Wed, 15 Apr 2026 09:22:25 -0300 Subject: [PATCH] =?UTF-8?q?FEAT:=20Adi=C3=A7=C3=A3o=20da=20URL=20de=20band?= =?UTF-8?q?a=20larga=20na=20configura=C3=A7=C3=A3o=20do=20CORs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index 1117cc7..b11badd 100644 --- a/src/app.js +++ b/src/app.js @@ -15,7 +15,7 @@ const PORT = process.env.PORT || 3000; * CORS */ app.use(cors({ - origin: 'https://sothis.com.br', + origin: ['https://sothis.com.br', 'https://bandalarga.srv.br'], methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'], allowedHeaders: ['Content-Type', 'Authorization'] }));