Skip to content

Commit

Permalink
Fix comments around RCLONE_DOWNLOAD in wrangler.toml.template and REA…
Browse files Browse the repository at this point in the history
…DME (#23)
  • Loading branch information
jingyuanliang authored Nov 18, 2024
1 parent 4cce688 commit 2c6f1a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ BUCKET_NAME = "$path"
# to list the bucket’s objects. You can allow or deny this functionality in the
# Worker via ALLOW_LIST_BUCKET
ALLOW_LIST_BUCKET = "<true, if you want to allow clients to list objects, otherwise false>"
# If set, the worker will strip the `file/` prefix from incoming request paths.
# See https://rclone.org/b2/#b2-download-url
RCLONE_DOWNLOAD = "<true, if you are using the Worker to proxy downloads for rclone, otherwise false>"
# If set, these headers will be included in the signed upstream request
# alongside the minimal set of headers required for an AWS v4 signature:
# "authorization", "x-amz-content-sha256" and "x-amz-date".
Expand All @@ -50,9 +53,6 @@ ALLOW_LIST_BUCKET = "<true, if you want to allow clients to list objects, otherw
#
# Note that HTTP headers are not case-sensitive. "host" will match "host",
# "Host" and "HOST".
RCLONE_DOWNLOAD = "<true, if you are using the Worker to proxy downloads for rclone, otherwise false>"
# If set, the worker will strip the `file/` prefix from incoming request paths.
# See https://rclone.org/b2/#b2-download-url
#ALLOWED_HEADERS = [
# "content-type",
# "date",
Expand Down
6 changes: 3 additions & 3 deletions wrangler.toml.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ BUCKET_NAME = "<your bucket name, $path, or $host>"
# to list the bucket’s objects. You can allow or deny this functionality in the
# Worker via ALLOW_LIST_BUCKET
ALLOW_LIST_BUCKET = "<true, if you want to allow clients to list objects, otherwise false>"
# If set, the worker will strip the `file/` prefix from incoming request paths.
# See https://rclone.org/b2/#b2-download-url
RCLONE_DOWNLOAD = "<true, if you are using the Worker to proxy downloads for rclone, otherwise false>"
# If set, these headers will be included in the signed upstream request
# alongside the minimal set of headers required for an AWS v4 signature:
# "authorization", "x-amz-content-sha256" and "x-amz-date".
Expand All @@ -36,9 +39,6 @@ ALLOW_LIST_BUCKET = "<true, if you want to allow clients to list objects, otherw
#
# Note that HTTP headers are not case-sensitive. "host" will match "host",
# "Host" and "HOST".
RCLONE_DOWNLOAD = "<true, if you are using the Worker to proxy downloads for rclone, otherwise false>"
# If set, the worker will strip the `file/` prefix from incoming request paths.
# See https://rclone.org/b2/#b2-download-url
#ALLOWED_HEADERS = [
# "content-type",
# "date",
Expand Down

0 comments on commit 2c6f1a3

Please sign in to comment.