Skip to content

Commit

Permalink
update readme config example [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jacktasia committed May 15, 2015
1 parent 901522b commit c4ceb3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ You configure `s3pal` using a toml config file. `s3pal` automatically looks for
cache_ttl = 10
max_post_bytes = 3000000 # ~3MB (unlimited if not set)
static_path="/home/jack/assets" # directory served from /static (optional)
allowed_origins=["http://jackangers.com", "http://blah.com"] # for cors. open "*" if unset

[folderwatchupload]
path = "/Users/jack/Desktop/toS3" # or pass in command line
Expand Down
1 change: 1 addition & 0 deletions sample_s3pal.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ max_post_bytes = 3000000 # ~3MB
static_path="/home/jack/assets" # directory served from /static (optional)
sign_ttl = 300 # in seconds, so this is 5 minutes
sign_url = true # always sign URLs if a URL is requested. this defaults to false
allowed_origins=["http://jackangers.com", "http://blah.com"] # for cors. open "*" if unset

# for watch-folder command
[folderwatchupload]
Expand Down

0 comments on commit c4ceb3b

Please sign in to comment.