From 85db678f89bb8f2e13e805dec9aa02e6bf5406f2 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Tue, 15 Jan 2019 15:56:22 +0000 Subject: [PATCH] chores: rename env var --- src/lib/modules/api/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/modules/api/server.ts b/src/lib/modules/api/server.ts index 39d362605..ac7677616 100644 --- a/src/lib/modules/api/server.ts +++ b/src/lib/modules/api/server.ts @@ -98,7 +98,7 @@ export default class Server { this.embark.events.on("plugins:register:api", (callDescription: CallDescription) => this.registerCallDescription(instance, callDescription)); let ui: express.RequestHandler; - if (process.env.DEVELOPMENT) { + if (process.env.EMBARK_DEVELOPMENT) { ui = proxy("http://localhost:3000"); } else { ui = express.static(path.join(__dirname, "../../../../embark-ui/build"));