|
|
|
@ -64,6 +64,9 @@ func IndexHandler(w http.ResponseWriter, r *http.Request) { |
|
|
|
// Set a cache control max-age header
|
|
|
|
// Set a cache control max-age header
|
|
|
|
middleware.SetCachingHeaders(w, r) |
|
|
|
middleware.SetCachingHeaders(w, r) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Opt-out of Google FLoC
|
|
|
|
|
|
|
|
middleware.DisableFloc(w) |
|
|
|
|
|
|
|
|
|
|
|
http.ServeFile(w, r, path.Join(config.WebRoot, r.URL.Path)) |
|
|
|
http.ServeFile(w, r, path.Join(config.WebRoot, r.URL.Path)) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|