Stop using CDNs + Remove bootstrap.min.js because it wasn't necessary

+ Gzip http.FileServer
This commit is contained in:
TwinProduction committed 2020-09-06 00:55:01 -04:00
1 parent ed4ed520b7
commit e31c017a00
6 files changed
+58 -12

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ func main() {
cfg := loadConfiguration()
http.HandleFunc("/api/v1/results", serviceResultsHandler)
http.HandleFunc("/health", healthHandler)
http.Handle("/", http.FileServer(http.Dir("./static")))
http.Handle("/", GzipHandler(http.FileServer(http.Dir("./static"))))
if cfg.Metrics {
http.Handle("/metrics", promhttp.Handler())
}