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