Merge pull request from GHSA-2hfj-cxw7-g45p
This commit is contained in:
@@ -68,8 +68,8 @@ func IndexHandler(w http.ResponseWriter, r *http.Request) {
|
||||
// Set a cache control max-age header
|
||||
middleware.SetCachingHeaders(w, r)
|
||||
|
||||
// Opt-out of Google FLoC
|
||||
middleware.DisableFloc(w)
|
||||
// Set our global HTTP headers
|
||||
middleware.SetHeaders(w)
|
||||
|
||||
http.ServeFile(w, r, path.Join(config.WebRoot, r.URL.Path))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user