Skip to content

Commit

Permalink
Add: HTTP Proxy option, which can be configured using the .env file.
Browse files Browse the repository at this point in the history
  • Loading branch information
PawanOsman committed Apr 11, 2024
1 parent d6f5a09 commit b74c115
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 269 deletions.
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
SERVER_PORT=3040

PROXY=false
PROXY_HOST=proxy.example.com
PROXY_PORT=8080
PROXY_AUTH=false
PROXY_USERNAME=
PROXY_PASSWORD=
PROXY_PROTOCOL=http
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dependencies": {
"axios": "^1.6.7",
"body-parser": "^1.20.2",
"dotenv": "^16.4.5",
"express": "^4.18.3",
"gpt-3-encoder": "^1.1.4"
},
Expand Down
Loading

0 comments on commit b74c115

Please sign in to comment.