fix(GBMinService): await token.toJwt() for proper JWT generation
All checks were successful
GBCI / build (push) Successful in 29s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-04-26 17:27:29 -03:00
parent b7f9c07faf
commit 3ce1d1e152

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: 'http://localhost:8081',
origin: 'http://localhost:3000',
methods: ['GET', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Content-Type', 'Authorization', 'x-requested-with'
, 'x-ms-bot-agent'