juzeon / poe-openai-proxy

A wrapper that lets you use the reverse-engineered Python library poe-api library as if it was the OpenAI API for ChatGPT. You can connect your favorite OpenAI API based apps to this proxy and enjoy the ChatGPT API for free!
GNU General Public License v3.0
424 stars 98 forks source link

add ssl support, change cors to allow all header and method #59

Closed easychen closed 1 year ago

easychen commented 1 year ago

Added SSL support for in-browser call .

At the same time, the default cors configuration is modified. Some openai third-party SDKs such as api2d-js use additional headers to pass platform parameters, such as whether to support caching

juzeon commented 1 year ago

Merged. Thank you for your contribution!