Skip to content

Commit 254ae27

Browse files
authored
fixup
1 parent 6e96042 commit 254ae27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mergepdf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ RUN --mount=type=bind,from=leptonica,source=/packages,target=/packages \
4141

4242
ENV \
4343
MAX_THREADS=5 \
44-
URI_SCHEME="private://"
44+
URI_SCHEME="private"
4545

4646
COPY --link rootfs /

mergepdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ The drupal site requires a route available at `/term_from_term_name`. This View
2323
| Environment Variable | Default | Description |
2424
| :------------------- | :-------------------------------------------------------- | :---------------------------------------------------------------------- |
2525
| MAX_THREADS | 5 | How many images to download at once from a IIIF manifest |
26-
| URI_SCHEME | `public://` | The Drupal URI to store the generated PDF in |
26+
| URI_SCHEME | `private` | The Drupal URI to store the generated PDF in |

mergepdf/rootfs/app/cmd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ MONTH=$(date +"%m")
105105
curl \
106106
-H "Authorization: $SCYLLARIDAE_AUTH" \
107107
-H "Content-Type: application/pdf" \
108-
-H "Content-Location: $URI_SCHEME/derivatives/$YEAR/$MONTH/pc/$NID.pdf" \
108+
-H "Content-Location: ${URI_SCHEME}://derivatives/$YEAR/$MONTH/pc/$NID.pdf" \
109109
-T "$TMP_DIR/ocr.pdf" \
110110
"$1/media/document/$TID"
111111

0 commit comments

Comments
 (0)