From 7a1b891d0a443ea1f65ffc9a13651aa4bb491280 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Thu, 20 Oct 2022 17:00:11 +0800 Subject: [PATCH] Revert "feat(uniCloud): secure network config" This reverts commit cc589783755137db703242b466bc0e667afb472e. --- packages/uni-cloud/src/uni.plugin.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/uni-cloud/src/uni.plugin.ts b/packages/uni-cloud/src/uni.plugin.ts index 7f6b04564..e9db85dfb 100644 --- a/packages/uni-cloud/src/uni.plugin.ts +++ b/packages/uni-cloud/src/uni.plugin.ts @@ -184,9 +184,7 @@ export default () => [ const isSecureNetworkEnabled = isEnableSecureNetwork(inputDir, platform) return { define: { - 'process.env.UNI_SECURE_NETWORK_ENABLE': isSecureNetworkEnabled, - 'process.env.UNI_SECURE_NETWORK_CONFIG': - process.env.UNI_SECURE_NETWORK_CONFIG, + 'process.env.UNI_SECURE_NETWORK': isSecureNetworkEnabled, }, } }, -- GitLab