diff --git a/code/client/webpack.config.js b/code/client/webpack.config.js index 88a1f86f..2380eec2 100644 --- a/code/client/webpack.config.js +++ b/code/client/webpack.config.js @@ -131,6 +131,10 @@ module.exports = { SENTRY_DSN: '', // dev LOCAL_RELAYER_URL: '', ROOT_URL: '', + LOGO_ID: '', + LOGO_LINK: '', + APP_LINK: '', + APP_NAME: '', }), new webpack.ProvidePlugin({ Buffer: ['buffer', 'Buffer'], diff --git a/code/lib/config/common.js b/code/lib/config/common.js index 7065ff1b..1fb3f2fe 100644 --- a/code/lib/config/common.js +++ b/code/lib/config/common.js @@ -2,11 +2,11 @@ const Constants = require('../constants') const DEBUG = process.env.DEBUG module.exports = { - appId: process.env.APP_ID ?? 'ONEWallet', - appName: process.env.APP_NAME ?? 'OTP Wallet', - logoId: process.env.LOGO_ID ?? 'modulo', - logoLink: process.env.LOGO_LINK ?? 'https://modulo.so', - appLink: process.env.APP_LINK ?? 'https://otpwallet.xyz/', + appId: process.env.APP_ID || 'ONEWallet', + appName: process.env.APP_NAME || 'OTP Wallet', + logoId: process.env.LOGO_ID || 'modulo', + logoLink: process.env.LOGO_LINK || 'https://modulo.so', + appLink: process.env.APP_LINK || 'https://otpwallet.xyz/', version: `v0.${Constants.MajorVersion}.${Constants.MinorVersion}`, lastLibraryUpdateVersion: `v0.${Constants.MajorVersion}.1`, // lastLibraryUpdateVersion: `v0.16.0`, // use this for manual override