Skip to content

Commit

Permalink
Configuration updates for Cantaloupe 4.1.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Aug 10, 2021
1 parent 7053a89 commit 999af7a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

# Cantaloupe version
cantaloupe_version: 4.1.7
cantaloupe_version: 4.1.9
# Where to extract the cantaloupe archive
cantaloupe_install_root: /opt
# Target of a symlink from the extracted cantaloupe archive
Expand Down
9 changes: 9 additions & 0 deletions templates/cantaloupe.properties.j2
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ base_uri = {{ cantaloupe_base_uri }}
# percent-encoded version in URLs.
slash_substitute = {{ cantaloupe_slash_substitute }}

# Parses an identifier's scale constraint suffix.
# This key only applies to versions >= 4.1.9 and < 5.0.
scale_constraint_suffix.pattern = -(\d+):(\d+)\b

# Converts a scale constraint suffix to its URL format. {n} and {d} are the
# numerator and denominator, respectively.
# This key only applies to versions >= 4.1.9 and < 5.0.
scale_constraint_suffix.format = -{n}:{d}

# Maximum number of pixels to return in a response, to prevent overloading
# the server. Requests for more pixels than this will receive an error
# response. Set to 0 for no maximum.
Expand Down

0 comments on commit 999af7a

Please sign in to comment.