Skip to content

Commit

Permalink
Fix geosolutions-it#10508 fix tileprovider crash when using {-y}
Browse files Browse the repository at this point in the history
  • Loading branch information
MV88 committed Aug 12, 2024
1 parent 791fb54 commit 7a7f01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/utils/TileProviderUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function template(str = "", data = {}) {
return str.replace(/(\{(.*?)\})/g, function() {
let st = arguments[0];
let key = arguments[2] ? arguments[2] : arguments[1];
if (["x", "y", "z"].includes(key)) {
if (["x", "y", "-y", "z"].includes(key)) {
return arguments[0];
}
let value = data[key];
Expand Down

0 comments on commit 7a7f01a

Please sign in to comment.