mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 11:59:48 -05:00
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:
parent
df0d5391b4
commit
a324305a7d
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue