Skip to content
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

【优化】增加访问密码或前端自填API KEY #44

Open
WooyJen opened this issue Apr 8, 2023 · 5 comments
Open

【优化】增加访问密码或前端自填API KEY #44

WooyJen opened this issue Apr 8, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@WooyJen
Copy link

WooyJen commented Apr 8, 2023

Is your feature request related to a problem?

1、可以在vercel的环境变量里设置网页访问密码
2、可以在部署的网站前端自填openai的api key

Describe the solution you'd like

1、可以在vercel的环境变量里设置网页访问密码
2、可以在部署的网站前端自填openai的api key

Additional context

No response

@WooyJen WooyJen added the enhancement New feature or request label Apr 8, 2023
@stevenlee87
Copy link

I would also like to commit this request. Otherwise, if someone finds out about the page now, it will consume your token amount.

@erbanku
Copy link

erbanku commented Apr 18, 2023

You already can achieve your request 2 (Let the user bring their OpenAI API key when using the service).
Please try to deploy with the button below to do that.

Deploy to Vercel (Without providing any environment variables)

Deploy with Vercel

@hahahumble
Copy link
Owner

目前已经支持设置网页访问密码 (v0.4.1)

@erbanku
Copy link

erbanku commented Apr 20, 2023

If you don't want to fill access code, remove the VITE_ACCESS_CODE environment variable and redeploy it.
Please note that, this also disables the site's password protection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants