🔧 Change listen address in configuration file to bind to localhost and add a newline at the end of the file

This commit is contained in:
2026-04-19 10:54:50 +08:00
parent 4717b57257
commit 8c87777d85
+2 -1
View File
@@ -4,10 +4,11 @@
upstream_url = "https://api.openai.com/v1/chat/completions" upstream_url = "https://api.openai.com/v1/chat/completions"
# Listen address # Listen address
listen_addr = ":8080" listen_addr = "127.0.0.1:8080"
# Upstream API key # Upstream API key
api_key = "" api_key = ""
# Skip TLS verification # Skip TLS verification
insecure = false insecure = false