feat: support config host name and proxy address

This commit is contained in:
Wentao Lyu 2023-03-10 21:05:35 +08:00
parent 4e616cd2ed
commit 67156f4a7a
5 changed files with 13 additions and 3 deletions

View file

@ -1,7 +1,13 @@
OPENAI_KEY=
HOST=
PORT=3080
NODE_ENV=development
# Change this to your MongoDB URI if different and I recommend appending chatgpt-clone
MONGO_URI="mongodb://127.0.0.1:27017/chatgpt-clone"
# Change this to proxy any request.
PROXY=
CHATGPT_TOKEN=""
BING_TOKEN=""