We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如图SessionProviderConfig在定义里面是一个字符串。 执行
tcb framework deploy
报错
查看log文件,大致是因为 多Unmarshal了?
如何设置环境变量是json格式的字符串呢?
The text was updated successfully, but these errors were encountered:
使用env的方式也不行,这种方式感觉是字符串占位填充,挪过来后,导致json文件不对了
"SessionProviderConfig": "{{env.SessionConfig}}",
cat .env SessionConfig={"cookieName": "bid","enableSetCookie,omitempty":true,"secure":true,"providerConfig":"127.0.0.1:6379,10,123,7"}
直接报错
Sorry, something went wrong.
可以试下 在.env 中
SessionProviderConfig.cookiename= bid 这种
可以试下 在.env 中 SessionProviderConfig.cookiename= bid 这种 .env 文件内容
SessionProviderConfig.cookiename= bid 这种 .env 文件内容
控制台显示设置有key,但是没有value的样子
程序中无法获取到这个环境变量。
看样子还是不行。
现在看只能把json string->base64->env var 然后程序里面 env var->base64 decode->json.Unmarsharl了
No branches or pull requests
如图SessionProviderConfig在定义里面是一个字符串。
执行
报错
查看log文件,大致是因为
多Unmarshal了?
如何设置环境变量是json格式的字符串呢?
The text was updated successfully, but these errors were encountered: