Update title to version
This commit is contained in:
parent
0422edb4bc
commit
6b6442d4e0
1 changed files with 3 additions and 3 deletions
|
@ -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 ,
|
||||||
|
|
Loading…
Reference in a new issue