parent
b7f9c07faf
commit
3ce1d1e152
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: 'http://localhost:8081',
|
origin: 'http://localhost:3000',
|
||||||
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