Update title to version

This commit is contained in:
loicbersier 2020-01-26 22:57:24 +01:00
parent 0422edb4bc
commit 6b6442d4e0

View file

@ -96,7 +96,7 @@ class DownloadController {
if (!data.url) { if (!data.url) {
return view.render(page, { return view.render(page, {
title: title, version: version,
viewCounter: viewCounter, viewCounter: viewCounter,
file: files, file: files,
day: day, month: month, announcement: announcement , day: day, month: month, announcement: announcement ,
@ -130,7 +130,7 @@ class DownloadController {
if (err) { if (err) {
console.error(err); console.error(err);
return response.send(view.render(page, { return response.send(view.render(page, {
title: title, version: version,
viewCounter: viewCounter, viewCounter: viewCounter,
file: files, file: files,
day: day, month: month, announcement: announcement , day: day, month: month, announcement: announcement ,
@ -148,7 +148,7 @@ class DownloadController {
video.on('error', function(err) { video.on('error', function(err) {
console.error(err); console.error(err);
return response.send(view.render(page, { return response.send(view.render(page, {
title: title, version: version,
viewCounter: viewCounter, viewCounter: viewCounter,
file: files, file: files,
day: day, month: month, announcement: announcement , day: day, month: month, announcement: announcement ,