fix(core.gbapp): Use of BOT_URL instead of relying on AZ.
This commit is contained in:
parent
9c84b80037
commit
9e15b03d04
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ export class GBServer {
|
||||||
GBServer.globals.publicAddress = await core.ensureProxy(port);
|
GBServer.globals.publicAddress = await core.ensureProxy(port);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
const serverAddress = `https://${process.env.WEBSITE_SITE_NAME}.azurewebsites.net`;
|
const serverAddress = process.env.BOT_URL;
|
||||||
GBLog.info(`Defining server address at ${serverAddress}...`);
|
GBLog.info(`Defining server address at ${serverAddress}...`);
|
||||||
GBServer.globals.publicAddress = serverAddress;
|
GBServer.globals.publicAddress = serverAddress;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue