Skip to content

Commit

Permalink
Refresh assetHash on theme activation (#7464)
Browse files Browse the repository at this point in the history
closes #7423

- asset hashes have never been refreshed properly!
- Ghost(Pro)'s 1-theme-only limitation has been hiding this bug for 3 years 🙄
  • Loading branch information
ErisDS authored and kirrg001 committed Sep 30, 2016
1 parent 45e5082 commit 3e727d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/server/middleware/theme-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ themeHandler = {

// clear the view cache
blogApp.cache = {};
// reset the asset hash
config.assetHash = null;

// set view engine
hbsOptions = {
Expand Down

0 comments on commit 3e727d0

Please sign in to comment.