fix(config): don't expose version endpoint in default config (#31)

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
This commit is contained in:
Leonidas Spyropoulos 2022-10-04 17:29:23 +01:00 committed by GitHub
parent df0d5391b4
commit a324305a7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ address="127.0.0.1:8000"
max_content_length="10MB" max_content_length="10MB"
upload_path="./upload" upload_path="./upload"
timeout="30s" timeout="30s"
expose_version=true expose_version=false
landing_page="""Submit files via HTTP POST here: landing_page="""Submit files via HTTP POST here:
curl -F 'file=@example.txt' <server>" curl -F 'file=@example.txt' <server>"
This will return the finished URL. This will return the finished URL.