From de946bf9c7cfc95be7fddc9f274bbec2751417b5 Mon Sep 17 00:00:00 2001 From: Paul Bienkowski Date: Sat, 12 Dec 2020 13:43:11 +0100 Subject: [PATCH] chore: re-add backwards compatible /TrackData url --- src/routes/api/tracks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api/tracks.js b/src/routes/api/tracks.js index b6a4dcf..e206ccd 100644 --- a/src/routes/api/tracks.js +++ b/src/routes/api/tracks.js @@ -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)) {