FEAT: Adição da URL de banda larga na configuração do CORs.

This commit is contained in:
Gabriel Amancio 2026-04-15 09:22:25 -03:00
parent ab836654f7
commit 28b988d2d1

View File

@ -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']
}));