Explorar o código

readd trailing slash

Garrett Johnson %!s(int64=3) %!d(string=hai) anos
pai
achega
34df85eb0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 
 			}