fix legacy link

This commit is contained in:
loicbersier 2020-01-24 15:28:12 +01:00
parent 9e7b62794e
commit fbe41366c0

View file

@ -40,7 +40,7 @@ class DownloadController {
day = today.getDay();
month = today.getMonth();
// If legacy link return
if (request.url == '/legacy') return view.render('legacy', { title: title, viewCounter: viewCounter, day: day, month: month, announcement: announcement});
if (request.url() == '/legacy') return view.render('legacy', { title: title, viewCounter: viewCounter, day: day, month: month, announcement: announcement});
files = [];
let file = [];