mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-22 04:19:47 -05:00
14 lines
359 B
TOML
14 lines
359 B
TOML
|
[server]
|
||
|
address="127.0.0.1:8000"
|
||
|
max_content_length="10MB"
|
||
|
upload_path="./upload"
|
||
|
|
||
|
[paste]
|
||
|
random_url = { enabled = true, type = "petname", words = 2, separator = "-" }
|
||
|
default_extension = "txt"
|
||
|
duplicate_files = true
|
||
|
mime_override = [
|
||
|
{ mime = "application/x-shockwave-flash", regex = "^.*\\.txt$" },
|
||
|
{ mime = "image/gif", regex = "^.*\\.tar$" },
|
||
|
]
|