Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(example): add missing uploadLimit key w/ desc #46

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion example/micro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ storagePath: /data
# then replace "one" with "two" and it would look like user "two" uploaded it.
restrictFilesToHost: true

# maximum file size for each upload (e.g. 123MB, 456GB, etc...)
uploadLimit: 1GB

# # purging can be used to clean up old files, useful if you want to allow large files to be uploaded
# # but dont want to store them forever. this is commented by default to prevent accidental purging
# # uncomment the section below to enable it.
Expand Down Expand Up @@ -105,4 +108,4 @@ conversions:
# filter:
# decayDuration: 7d # how long before files are moved to external storage
# minSize: 1MB # files under this size will not be moved
# maxSize: 1GB # files over this size will be moved
# maxSize: 1GB # files over this size will be moved