xtekky / chatgpt-clone

ChatGPT interface with better UI
https://g4f.ai
GNU General Public License v3.0
3.44k stars 1.03k forks source link

feat. add configuration for proxy. #73

Closed Civitasv closed 1 year ago

Civitasv commented 1 year ago

I've added configuration for proxy settings:

"proxy": {
    "enable": true,
    "http": "127.0.0.1:7890",
    "https": "127.0.0.1:7890"
}

If proxy is enabled, then http and https in proxy will be set when making a request.