mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Refresh assetHash on theme activation (#7464)
closes #7423 - asset hashes have never been refreshed properly! - Ghost(Pro)'s 1-theme-only limitation has been hiding this bug for 3 years 🙄
This commit is contained in:
parent
45e50820dc
commit
3e727d01f7
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ themeHandler = {
|
|||
|
||||
// clear the view cache
|
||||
blogApp.cache = {};
|
||||
// reset the asset hash
|
||||
config.assetHash = null;
|
||||
|
||||
// set view engine
|
||||
hbsOptions = {
|
||||
|
|
Loading…
Add table
Reference in a new issue