chores: rename env var

This commit is contained in:
Anthony Laibe 2019-01-15 15:56:22 +00:00
parent 9a9eb45836
commit 85db678f89
1 changed files with 1 additions and 1 deletions

View File

@ -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"));