chore: re-add backwards compatible /TrackData url

This commit is contained in:
Paul Bienkowski 2020-12-12 13:43:11 +01:00
parent d5f617e25c
commit de946bf9c7

View file

@ -414,7 +414,7 @@ router.delete(
// return an track's trackData
router.get(
'/:track/data',
['/:track/data', '/:track/TrackData'],
auth.optional,
wrapRoute(async (req, res) => {
if (!req.track.isVisibleTo(req.user)) {