Skip to content

Commit

Permalink
fix debug page for safari/firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Molly Lloyd committed Sep 27, 2017
1 parent dede6d4 commit 1d28035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debug/terrain-rendering.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
transformRequest: (url, resourceType) =>{
if (resourceType === 'Tile' && url.search('terrain')) {
return {
url: url.replace('@2x.webp', '.pngraw')
url: url.replace('@2x','').replace(/(\.webp)|(\.png)/, '.pngraw')
};
}
}
Expand Down

0 comments on commit 1d28035

Please sign in to comment.