forked from noxious/server
Minor changes
This commit is contained in:
parent
8460d0b535
commit
f6bac403a2
src/utilities
@ -79,7 +79,7 @@ async function addHttpRoutes(app: Application) {
|
||||
}
|
||||
|
||||
// Return the array
|
||||
res.json(tiles)
|
||||
res.json(assets)
|
||||
})
|
||||
|
||||
/**
|
||||
@ -114,7 +114,7 @@ async function addHttpRoutes(app: Application) {
|
||||
}
|
||||
|
||||
// Return the array
|
||||
res.json(tiles)
|
||||
res.json(assets)
|
||||
})
|
||||
|
||||
/**
|
||||
|
@ -1,3 +1,3 @@
|
||||
export function unduplicateArray(array: any[]) {
|
||||
return [...new Set(array.flat())]
|
||||
}
|
||||
}
|
||||
|
@ -6,4 +6,4 @@ export function FlattenZoneArray(tiles: string[][]) {
|
||||
}
|
||||
|
||||
return normalArray
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user