-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
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
fix: 使API余额查询可用 #11
fix: 使API余额查询可用 #11
Conversation
LuckyWang6
commented
Apr 3, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一些问题
大佬,刚刚docker部署了一下你的源,出问题
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0
/app/node_modules/.pnpm/mongodb-connection-string-url@2.6.0/node_modules/mongodb-connection-string-url/lib/index.js:9 TypeError: Cannot read properties of undefined (reading 'startsWith') Node.js v18.15.0 |
@cmtomkan310 代表没找到 环境变量 你看下跑的目录下是否有 .env 文件 原来是一个 .env.example 需要改内容 并重命名 |
SITE_TITLE 设置了不生效 |
docker 可以的 自己编译是不行,因为是docker启动的时候替换的,自己编译 只是在发邮件 里的内容会变 html不会 这种自己编译就自己手动改 index.html 吧,我这目前侧重的是docker 跑的 |
ok 感谢 |
是否考虑增加每个用户可以自定义设置自己的OPENAI_API_KEY或者OPENAI_ACCESS_TOKEN |
我合并了下但是发现冲突以及一些问题有点多, 所以直接自己抄你代码提交了。。 |
可能会考虑 可以新开一个issue |
谢谢大佬🌚 |
应该是你fork https://github.com/Chanzhaoyu/chatgpt-web 这个改导致的,,你fork我的改就不会,,现在每次我合并分支要改一堆冲突。。 |
为什么我部署完成后,注册了一个邮箱,通过邮箱的登录后,点击设置,只出现一个总览,没有其他配置的选项呢 |
设置管理邮箱 环境变量 |