Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
fix app.getHashedAssetUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Mar 16, 2017
1 parent a7d9317 commit a224974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module.exports = options => {
// verification that expected assets exist
if (options.withAssets) {
const assetManager = assets.init(options, meta.directory, app.locals);
app.getHashedAssetUrl = assetManager.hasher.get;
app.getHashedAssetUrl = assetManager.hasher;
app.use(assetManager.middleware);
}

Expand Down

0 comments on commit a224974

Please sign in to comment.