init
This commit is contained in:
commit
0e5a6de323
10 changed files with 2166 additions and 0 deletions
15
config.toml
Normal file
15
config.toml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
upload_dir = "./uploads"
|
||||
base_url = "https://paste.mizuki.guru"
|
||||
id_length = 10
|
||||
|
||||
[server]
|
||||
host = "0.0.0.0"
|
||||
port = 8000
|
||||
|
||||
[file]
|
||||
# u can setup this
|
||||
# b, kb, mb, gb, tb
|
||||
# kib, mib, gib, tib
|
||||
max_size = "10MB"
|
||||
extension_whitelist = [".docx", ".md", ".json", ".rs"]
|
||||
block_binary = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue