fix(GBMinService): update CORS origin to use HTTPS for improved security
All checks were successful
GBCI / build (push) Successful in 1m2s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-27 19:00:54 -03:00
parent 2a61c07cd1
commit 320e401cad

View file

@ -166,7 +166,7 @@ export class GBMinService {
// Servers the bot information object via HTTP so clients can get
// instance information stored on server.
GBServer.globals.server.use(cors({
origin: 'gb6.pragmatismo.com.br',
origin: 'https://gb6.pragmatismo.com.br',
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization', 'x-requested-with'
, 'x-ms-bot-agent'