From 9e15b03d048ba8a23eec64f655380f9a81ed5428 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 f8620796..c407a818 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; }