环境变量应该为空为不是空字符串 #5835
环境变量应该为空为不是空字符串
#5835
Replies: 1 comment 2 replies
-
如果应用官方需要值为 null,您可以在 compose.yml 文件或应用配置文件中去掉该变量,或者通过 1Panel 提供的 init.sh 脚本修改 .env 文件中的 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
联系方式
[email protected]
1Panel 版本
v1.10.11-lts
问题描述
当应用安装参数为非必填项

生成的环境变量都带了双引号 含义由空值变为空字符串

应用也没有判断字符串是否为空

重现步骤
当应用不能将 空字符串识别为空时
期待的正确结果
官方环境变量 变量名= 后面不是双引号,

相关日志输出
No response
附加信息
No response
Beta Was this translation helpful? Give feedback.
All reactions