mirror of
https://github.com/Mintplex-Labs/anything-llm
synced 2026-04-25 17:15:37 +02:00
Disable swagger docs endpoint with environment variable (#4665)
* add option to disable swagger docs via env * update .example.env for docker and server --------- Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
This commit is contained in:
@@ -375,4 +375,8 @@ GID='1000'
|
||||
# Runtime flags for built-in pupeeteer Chromium instance
|
||||
# This is only required on Linux machines running AnythingLLM via Docker
|
||||
# and do not want to use the --cap-add=SYS_ADMIN docker argument
|
||||
# ANYTHINGLLM_CHROMIUM_ARGS="--no-sandbox,--disable-setuid-sandbox"
|
||||
# ANYTHINGLLM_CHROMIUM_ARGS="--no-sandbox,--disable-setuid-sandbox"
|
||||
|
||||
# Disable Swagger API documentation endpoint.
|
||||
# Set to "true" to disable the /api/docs endpoint (recommended for production deployments).
|
||||
# DISABLE_SWAGGER_DOCS="true"
|
||||
Reference in New Issue
Block a user