mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
fix missused Date obj
This commit is contained in:
parent
ce3920cc98
commit
dbc1247508
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user