fix(GBMinService): update CORS origin to use HTTPS for improved security
All checks were successful
GBCI / build (push) Successful in 1m2s
All checks were successful
GBCI / build (push) Successful in 1m2s
This commit is contained in:
parent
2a61c07cd1
commit
320e401cad
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ export class GBMinService {
|
||||||
// Servers the bot information object via HTTP so clients can get
|
// Servers the bot information object via HTTP so clients can get
|
||||||
// instance information stored on server.
|
// instance information stored on server.
|
||||||
GBServer.globals.server.use(cors({
|
GBServer.globals.server.use(cors({
|
||||||
origin: 'gb6.pragmatismo.com.br',
|
origin: 'https://gb6.pragmatismo.com.br',
|
||||||
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
|
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
|
||||||
allowedHeaders: ['Content-Type', 'Authorization', 'x-requested-with'
|
allowedHeaders: ['Content-Type', 'Authorization', 'x-requested-with'
|
||||||
, 'x-ms-bot-agent'
|
, 'x-ms-bot-agent'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue