From 83a2659b1cd7a46bb577ec70623a068024b3f7bd Mon Sep 17 00:00:00 2001 From: Azareal Date: Sat, 7 Mar 2020 07:55:26 +1000 Subject: [PATCH] this too x.x --- common/theme.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/theme.go b/common/theme.go index b31f171d..c170a6f3 100644 --- a/common/theme.go +++ b/common/theme.go @@ -167,7 +167,7 @@ func (t *Theme) AddThemeStaticFiles() error { hasher.Write(data) checksum := hex.EncodeToString(hasher.Sum(nil)) - StaticFiles.Set("/s/"+t.Name+path, SFile{data, gzipData, checksum, t.Name + path + "?h=" + checksum, 0, int64(len(data)), int64(len(gzipData)), strconv.Itoa(len(gzipData)), mime.TypeByExtension(ext), f, f.ModTime().UTC().Format(http.TimeFormat)}) + StaticFiles.Set("/s/"+t.Name+path, SFile{data, gzipData, checksum, t.Name + path + "?h=" + checksum, 0, int64(len(data)), strconv.Itoa(len(data)), int64(len(gzipData)), strconv.Itoa(len(gzipData)), mime.TypeByExtension(ext), f, f.ModTime().UTC().Format(http.TimeFormat)}) DebugLog("Added the '/" + t.Name + path + "' static file for theme " + t.Name + ".") return nil