diff --git a/packages/uni-cloud/src/uni.plugin.ts b/packages/uni-cloud/src/uni.plugin.ts index 7f6b04564b4403ccc8fd5afc361e35d7c63d2162..e9db85dfb063f34e7272efaf8aae96059aded0c6 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, }, } },