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,