Move toastify into separate dir, upgrade.

This commit is contained in:
Juliusz Chroboczek committed 2022-02-16 18:56:21 +01:00
1 parent db4eb6fc5c
commit 62fb6d853c
8 files changed
+550 -28

No files matched your search

+1 -2
View File
@@ -155,8 +155,7 @@ func makeCachable(w http.ResponseWriter, p string, fi os.FileInfo, cachable bool
}
cc := normalCacheControl
if strings.HasPrefix(p, "/fonts/") ||
strings.HasPrefix(p, "/scripts/") ||
if strings.HasPrefix(p, "/external/") ||
strings.HasPrefix(p, "/css/") {
cc = veryCachableCacheControl
}