chore: re-add backwards compatible /TrackData url
This commit is contained in:
parent
d5f617e25c
commit
de946bf9c7
|
@ -414,7 +414,7 @@ router.delete(
|
||||||
|
|
||||||
// return an track's trackData
|
// return an track's trackData
|
||||||
router.get(
|
router.get(
|
||||||
'/:track/data',
|
['/:track/data', '/:track/TrackData'],
|
||||||
auth.optional,
|
auth.optional,
|
||||||
wrapRoute(async (req, res) => {
|
wrapRoute(async (req, res) => {
|
||||||
if (!req.track.isVisibleTo(req.user)) {
|
if (!req.track.isVisibleTo(req.user)) {
|
||||||
|
|
Loading…
Reference in a new issue