From cbb3c2cb01519b5cf9f22f66211d4fb6df0fa302 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Sun, 20 Feb 2022 14:05:25 +0200 Subject: [PATCH] [Dev] Main Menu: Follow-up --- src/config.ts | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index 7eb124c87..d48498626 100644 --- a/src/config.ts +++ b/src/config.ts @@ -1,4 +1,4 @@ -export const APP_NAME = 'Telegram WebZ'; +export const APP_NAME = process.env.APP_NAME || 'Telegram WebZ'; export const APP_VERSION = process.env.APP_VERSION!; export const APP_REVISION = process.env.APP_REVISION; diff --git a/webpack.config.js b/webpack.config.js index b44575a62..1b3f38ca0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -120,6 +120,7 @@ module.exports = (env = {}, argv = {}) => { }), new EnvironmentPlugin({ APP_ENV: 'production', + APP_NAME: null, APP_VERSION: undefined, APP_REVISION: appRevision, TELEGRAM_T_API_ID: undefined,