浏览代码

readd trailing slash

Garrett Johnson 3 年之前
父节点
当前提交
34df85eb0c
共有 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();
 
 			}