Skip to content

Commit

Permalink
correct url
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq authored Feb 20, 2024
1 parent 8acab06 commit 91f18ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ module.exports = {
console.log(asset)
if (asset.href.endsWith('wrapped_phase.tif')) {
console.log('TITILER WRAPPED PHASE')
return "https://o2dj1bd0a4.execute-api.us-west-2.amazonaws.com/tiles/{z}/{x}/{y}@2x?url={url}&rescale=-3.14,3.14&colormap_name=hsv";
return "https://o2dj1bd0a4.execute-api.us-west-2.amazonaws.com/cog/tiles/{z}/{x}/{y}@2x?url={url}&rescale=-3.14,3.14&colormap_name=hsv";
}
else {
console.log('TITLER DEFAULT')
return "https://o2dj1bd0a4.execute-api.us-west-2.amazonaws.com/tiles/{z}/{x}/{y}@2x?url={url}";
return "https://o2dj1bd0a4.execute-api.us-west-2.amazonaws.com/cog/tiles/{z}/{x}/{y}@2x?url={url}";
}
},
stacProxyUrl: null,
Expand Down

0 comments on commit 91f18ee

Please sign in to comment.