forked from supernets/hardfiles
- Use MultipartReader for true streaming uploads without size limit - Fix path traversal vulnerabilities - Fix memory leaks in file handling - Stream file uploads to disk to prevent memory exhaustion - Add comprehensive code documentation
9 lines
146 B
TOML
9 lines
146 B
TOML
webroot = "www"
|
|
lport = "5000"
|
|
vhost = "hardfiles.org"
|
|
dbfile = "dbfile.db"
|
|
filelen = 6
|
|
folder = "files"
|
|
default_ttl = 86400
|
|
maximum_ttl = 604800
|