From 27d2643f395fcc8f207c3fb2d402cc2f6ec89dce Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Thu, 2 Apr 2020 23:52:59 -0300 Subject: [PATCH] fix(core.gbapp): Use of BOT_URL instead of relying on AZ. --- src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.ts b/src/app.ts index f86207965..c407a818b 100644 --- a/src/app.ts +++ b/src/app.ts @@ -128,7 +128,7 @@ export class GBServer { GBServer.globals.publicAddress = await core.ensureProxy(port); } } else { - const serverAddress = `https://${process.env.WEBSITE_SITE_NAME}.azurewebsites.net`; + const serverAddress = process.env.BOT_URL; GBLog.info(`Defining server address at ${serverAddress}...`); GBServer.globals.publicAddress = serverAddress; }