Browse Source

Merge pull request #4 from falconkirtaran/master

Modify IA S3 URL to use https due to cleartext secret in Authorization: header
master
Christopher Foo 7 years ago
committed by GitHub
parent
commit
3c0f50a00d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      upload-one

+ 1
- 1
upload-one View File

@@ -83,7 +83,7 @@ do
--header "x-archive-size-hint:$size_hint" \
--header "authorization: LOW ${IA_AUTH}" \
--upload-file "${UPLOADER_WORKING_DIR}/${ITEM}/${filename}" \
"http://s3.us.archive.org/${IA_ITEM_PREFIX}${ITEM}/${filename}" \
"https://s3.us.archive.org/${IA_ITEM_PREFIX}${ITEM}/${filename}" \
> /dev/null
result=$?
if [[ $result -ne 0 ]]


Loading…
Cancel
Save