Comments (16)
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] When deploying, the environment variables APIKEY and code are set. When entering the website, it prompts that they are not set. CODE is set on the settings page. When opening the web page, password verification does not appear.
from chatgpt-next-web.
vercel中redeploy试试
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
Try redeploy in vercel
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
The same problem occurred. On my side, the CODE settings took effect, but the KEY and proxy did not take effect.
from chatgpt-next-web.
@mengluo04 cannot reproduce this issue. if you send message in chat did the app response letting user to set code?
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
Try redeploy in vercel
I do it now,but also not work right
from chatgpt-next-web.
@mengluo04 cannot reproduce this issue. if you send message in chat did the app response letting user to set code?
I delete the project ,and create project,before deloy,i set the env
when deply success,I open the domain:https://chat-gpt-next-web-ten-lake-58.vercel.app/
the page show me not set key and code
from chatgpt-next-web.
……
CODE的作用是保护网站不被没有授权的随意使用,服务端部署CODE,浏览器打开网站的时候需要输入CODE才能正常使用。
CODE会缓存在本地,不需要每次打开都输入,如果希望每次打开都输入,可以使用浏览器的隐私模式,不会保留任何缓存。
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
…
The role of CODE is to protect the website from unauthorized use. CODE is deployed on the server side. When the browser opens the website, it needs to enter CODE for normal use.
CODE will be cached locally, so you don’t need to enter it every time you open it. If you want to enter it every time you open it, you can use the privacy mode of the browser, and no cache will be retained.
from chatgpt-next-web.
…… CODE的作用是保护网站不被没有授权的随意使用,服务端部署CODE,浏览器打开网站的时候需要输入CODE才能正常使用。 CODE会缓存在本地,不需要每次打开都输入,如果希望每次打开都输入,可以使用浏览器的隐私模式,不会保留任何缓存。
无痕模式一样的,没有出现code验证页面,换浏览器也一样
from chatgpt-next-web.
…… CODE的作用是保护网站不被授权的随意使用,服务端配置CODE,浏览器打开网站的时候需要输入CODE才能正常使用。 CODE会缓存在本地,不需要每次打开都输入,如果需要另外打开都输入,可以使用浏览器的隐私模式,不会保留任何缓存。
无痕模式一样的,没有出现代码验证页面,换浏览器也一样
你要点登录,然后再登录页面输入你的code,本身是不会跳出来密码验证
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
... The role of CODE is to protect the website from unauthorized use. The server configures the CODE. When the browser opens the website, it needs to enter the CODE for normal use. CODE will be cached locally, so you don’t need to enter it every time you open it. If you need to enter it every time you open it again, you can use the privacy mode of the browser and no cache will be retained.
It’s the same in incognito mode, but the code verification page doesn’t appear, and it’s the same when changing browsers.
You click to log in, and then enter your code on the login page. The password verification will not pop up.
from chatgpt-next-web.
…… CODE的作用是保护网站不被授权的随意使用,服务端配置CODE,浏览器打开网站的时候需要输入CODE才能正常使用。 CODE会缓存在本地,不需要每次打开都输入,如果需要另外打开都输入,可以使用浏览器的隐私模式,不会保留任何缓存。
无痕模式一样的,没有出现代码验证页面,换浏览器也一样
你要点登录,然后再登录页面输入你的code,本身是不会跳出来密码验证
在登录页设置了密码,然后新开一个无痕浏览器,打开页面也是一样的,没有出现密码验证。环境变量里设置的两个APIKEY都生效了,登录页的key设置不是必须的
在无痕模式打开,进入登录页,设置的密码没了。
在设置了密码的页面,在控制台的localstorage中,access-control变量里存在accessCode,但是刷新页面无效。
页面密码存在本地没有任何作用,因为环境变量里的key是生效了的,可以直接调用
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
... The role of CODE is to protect the website from unauthorized use. The server configures CODE. When the browser opens the website, it needs to enter CODE for normal use. CODE will be cached locally, so you don’t need to enter it every time you open it. If you need to enter it every time you open it again, you can use the privacy mode of the browser and no cache will be retained.
It’s the same in incognito mode, but the code verification page doesn’t appear, and it’s the same when changing browsers.
You click to log in, and then enter your code on the login page. The password verification will not pop up.
I set a password on the login page, then opened a new incognito browser, and it was the same when I opened the page, but no password verification appeared. The two APIKEYs set in the environment variables have taken effect, and the key setting on the login page is not necessary.
Open in incognito mode, enter the login page, and the password you set is gone.
On the page where the password is set, in the localstorage of the console, accessCode exists in the access-control variable, but refreshing the page has no effect.
The page password has no effect if it is stored locally, because the key in the environment variable is valid and can be called directly.
from chatgpt-next-web.
如果设置了CODE 环境变量,则会强制提示验证信息,除非曾经在『设置』中输入过 任意服务提供商的apikey
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
If the CODE environment variable is set, verification information will be forced to be prompted unless the apikey of any service provider has been entered in "Settings"
from chatgpt-next-web.
Related Issues (20)
- [Feature Request]: A Continue Button in NextChat V3 HOT 2
- [Bug] [iOS] Scroll HOT 4
- [Feature Request]: Vercel Functions for Hobby can now run up to 60 seconds HOT 5
- 为什么cloudflare配置Gemini的代理用不了 HOT 9
- The parse of markdown full-width colon is wrong. markdown文档的全角冒号解析错误 HOT 1
- [Bug] Cloudflare 部署错误 HOT 2
- How to config Azure OpenAI? HOT 2
- [Bug] 消息列表控制逻辑混乱 HOT 1
- [Bug] [Azure OpenAI] Typewriter animation effect is gone after switching from GPT-4 to GPT-4O
- [Bug] 当我询问用的Azure的哪个模型时,messages会预设我选择的模型,伪造成那个版本 HOT 3
- [Bug] MobileAgent使用GPT-4o HOT 1
- [Bug] 2.12.3 使用PROXY_URL部署后无法访问 HOT 3
- [Bug] Azure api 配置不生效 HOT 4
- 接口如果返回的是201而不是200会导致意外情况 HOT 3
- [Feature Request]: feat/voice-input分支版本与现在主分支不兼容 HOT 1
- [Feature Request]: Ability to change website title and brand
- [Feature Request]: I need to know what models I'm using and how much tokens consumed in each conversation.
- [Bug] nexthchat is stuck, how can I export my application data. HOT 1
- [Feature Request]: 基于模型服务商+模型名选择请求格式,而不是简单地依靠模型名 HOT 3
- [Bug] 在新拉取项目到本地电脑上,不能通过 bun run dev 在本地运行 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-next-web.