anse
anse copied to clipboard
Added Password files and optimzed
Description
I added the Password files and removed the parts that are unnecessary according the new Anse version
Linked Issues
#5 Password implementation
Additional context
I just added the files and optimized, this project is awesome and I invest my time to improve it!
Deploy Preview for chatgpt-demo-v2 ready!
| Name | Link |
|---|---|
| Latest commit | 4eefad3dd6c6494e9150358e0a05eed3fa9d2038 |
| Latest deploy log | https://app.netlify.com/sites/chatgpt-demo-v2/deploys/646e58418135850007c89e03 |
| Deploy Preview | https://deploy-preview-4--chatgpt-demo-v2.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
I'm glad you're contributing to this feature, however it's not perfect yet.
For one thing, it lacks api-level authentication - Anse does not use api/generate route, which means that in Anse, there's no verification when sending a prompt, and users can easily bypass the password authentication page by blocking the request from the index page.
Also, I don't think it works in Docker environments. chatgpt-demo has been a problem in Docker, it doesn't read environment variables very well. I don't plan to use environment variables until that's fixed.
Still, thanks for the commit, and you can go ahead and finish your requirements in the fork version!