Rename external directory to third-party.
This commit is contained in:
1 parent
7ed23b1eb8
commit
ee4174a4d6
26 files changed
+11
-11
No files matched your search
@@ -190,7 +190,7 @@ func makeCachable(w http.ResponseWriter, p string, fi os.FileInfo, cachable bool
|
||||
}
|
||||
|
||||
cc := normalCacheControl
|
||||
if strings.HasPrefix(p, "/external/") {
|
||||
if strings.HasPrefix(p, "/third-party/") {
|
||||
cc = veryCachableCacheControl
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user