acheong08 / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.
1.11k stars 371 forks source link

How to add an API key to restrict access with authorization? #76

Closed likecreep closed 1 year ago

likecreep commented 1 year ago

It wokred pretty well. But anyone konws the domain can perform a request. So is there any way to ser an API key yo restrict acess?