Преглед изворни кода

Merge pull request #262 from NASA-AMMOS/fix-urls

Readd trailing slash
Garrett Johnson пре 3 година
родитељ
комит
eab7f6ad52
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/base/TilesRendererBase.js

+ 1 - 1
src/base/TilesRendererBase.js

@@ -191,7 +191,7 @@ export class TilesRendererBase {
 			if ( tile.content.uri ) {
 
 				// tile content uri has to be interpreted relative to the tileset.json
-				tile.content.uri = new URL( tile.content.uri, tileSetDir ).toString();
+				tile.content.uri = new URL( tile.content.uri, tileSetDir + '/' ).toString();
 
 			}