about summary refs log tree commit diff stats
path: root/frontend/assets.go
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/assets.go')
-rw-r--r--frontend/assets.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/assets.go b/frontend/assets.go
index 7a90d80..b1c2efa 100644
--- a/frontend/assets.go
+++ b/frontend/assets.go
@@ -86,10 +86,12 @@ func hashStyles() error {
 }
 
 func Rehash() (err error) {
+	Assets.Scripts = []*Asset{}
 	err = hashScripts()
 	if err != nil {
 		return err
 	}
+	Assets.Stylesheets = []*Asset{}
 	err = hashStyles()
 	if err != nil {
 		return err