Move toastify into separate dir, upgrade.
This commit is contained in:
1 parent
db4eb6fc5c
commit
62fb6d853c
8 files changed
+550
-28
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user