Skip to content

Commit

Permalink
Merge branch 'forwarded-url' into koumoul
Browse files Browse the repository at this point in the history
Signed-off-by: Alban Mouton <[email protected]>
  • Loading branch information
albanm committed Nov 2, 2023
2 parents 2c12fbd + d5d0f53 commit 2ecfbc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ export const getTileUrls = (req, domains, path, format, publicUrl, aliases) => {
);
}
} else {
uris.push(`${publicUrl}${path}/{z}/{x}/{y}.${format}${query}`);
uris.push(
`${getPublicUrl(publicUrl, req)}${path}/{z}/{x}/{y}.${format}${query}`,
);
}

return uris;
Expand Down

0 comments on commit 2ecfbc1

Please sign in to comment.