diff --git a/core/server/index.js b/core/server/index.js index 050154cea0..70dd803198 100644 --- a/core/server/index.js +++ b/core/server/index.js @@ -81,7 +81,7 @@ function initDbHashAndFirstRun() { function setup(server) { // create a hash for cache busting assets - var assetHash = (crypto.createHash('md5').update(packageInfo.version + Date().now).digest('hex')).substring(0, 10); + var assetHash = (crypto.createHash('md5').update(packageInfo.version + Date.now()).digest('hex')).substring(0, 10); // Set up Polygot instance on the require module Polyglot.instance = new Polyglot();