mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
fix missused Date obj
This commit is contained in:
parent
ce3920cc98
commit
dbc1247508
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue