From 078757c9b2fece2e4a25ad052cdea57a0d6c4177 Mon Sep 17 00:00:00 2001 From: sproxet Date: Thu, 5 May 2022 16:26:30 +0700 Subject: [PATCH] Remove CHANGENOW_TOKEN reference from compile-wrapper.js. --- electron-vue/compile-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron-vue/compile-wrapper.js b/electron-vue/compile-wrapper.js index 0d59294d..70e66d94 100644 --- a/electron-vue/compile-wrapper.js +++ b/electron-vue/compile-wrapper.js @@ -22,7 +22,7 @@ module.exports = function (config) { writeFileSync(join(__dirname, '..', 'src', 'version.js'), `// This file is automatically generated by electron-vue/compile-wrapper.js\nexport default "${version}-${revision}";\n`); const keys = {HAS_KEYS: true}; - for (const key of ['SWAPZONE_API_KEY', 'EXOLIX_AUTHORIZATION', 'CHANGENOW_TOKEN', 'CHANGENOW_API_KEY']) { + for (const key of ['SWAPZONE_API_KEY', 'EXOLIX_AUTHORIZATION', 'CHANGENOW_API_KEY']) { keys[key] = process.env[key] || ''; if (!keys[key]) keys.HAS_KEYS = false; }