Typo fix
This commit is contained in:
parent
9c80efbb51
commit
20c77fe999
@ -16,12 +16,12 @@ async function addHttpRoutes(app: Application) {
|
||||
let assets: TAsset[] = [];
|
||||
const tiles = listTiles();
|
||||
tiles.forEach(tile => {
|
||||
assets.push({key: tile, value: '/object/' + tile, group: 'tiles', type: 'link'});
|
||||
assets.push({key: tile, value: '/tiles/' + tile, group: 'tiles', type: 'link'});
|
||||
});
|
||||
|
||||
const objects = listObjects();
|
||||
objects.forEach(object => {
|
||||
assets.push({key: object, value: '/tile/' + object, group: 'objects', type: 'link'});
|
||||
assets.push({key: object, value: '/objects/' + object, group: 'objects', type: 'link'});
|
||||
});
|
||||
|
||||
res.json(assets);
|
||||
|
Loading…
x
Reference in New Issue
Block a user