ali-dbhub icon indicating copy to clipboard operation
ali-dbhub copied to clipboard

Bug: 分享给别人用会暴露API key

Open ZimaBlueee opened this issue 1 year ago • 2 comments

Chat2DB Version

所有版本

Describe the bug

能否把api key纯后端配置,在前端配置f12也会抓到,现在项目根本无法推广

ZimaBlueee avatar Jun 15 '23 06:06 ZimaBlueee

现在就支持在后端配啊,可以在application.yml中配置chatgpt.apiKey的值

chenxian01 avatar Jun 17 '23 04:06 chenxian01

能否支持通过环境变量配置 key,docker 环境下运行,没找到配置的地方,界面方式不太安全

u9wangcl avatar Jun 19 '23 06:06 u9wangcl