diff --git a/public/index.html b/public/index.html index 9102378..5a053b3 100644 --- a/public/index.html +++ b/public/index.html @@ -90,11 +90,12 @@
diff --git a/src/server.js b/src/server.js index ac941ed..314083e 100644 --- a/src/server.js +++ b/src/server.js @@ -17,7 +17,7 @@ const port = process.env.PORT || 3000 const router = express.Router() -const sortfields = ['id', 'track', 'artist', 'title', 'album', 'year'] +const sortfields = ['id', 'track', 'artist', 'title', 'album', 'year', 'file'] const srchcategories = ['title', 'artist', 'album'] router.get('/tracks', async (req, res) => {