Showing
1 changed file
with
2 additions
and
0 deletions
@@ -70,6 +70,8 @@ exports.index = (req, res, next) => { | @@ -70,6 +70,8 @@ exports.index = (req, res, next) => { | ||
70 | exports.getIndexHtml = (req, res, next) => { | 70 | exports.getIndexHtml = (req, res, next) => { |
71 | starModel.getIndexData().then((result) => { | 71 | starModel.getIndexData().then((result) => { |
72 | if (md5Str !== result.md5) { | 72 | if (md5Str !== result.md5) { |
73 | + md5Str = result.md5; | ||
74 | + | ||
73 | res.render('star/index-html', _.assign({ | 75 | res.render('star/index-html', _.assign({ |
74 | layout: false, | 76 | layout: false, |
75 | content: { | 77 | content: { |
-
Please register or login to post a comment