Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.go b/app.go
index 5a195396..cae786a2 100644
--- a/app.go
+++ b/app.go
@@ -12,10 +12,11 @@ import (
ghandlers "github.com/gorilla/handlers"
"github.com/rs/cors"
log "github.com/sirupsen/logrus"
+ "gitlab.com/lupine/go-mimedb"
+
"gitlab.com/gitlab-org/labkit/errortracking"
labmetrics "gitlab.com/gitlab-org/labkit/metrics"
"gitlab.com/gitlab-org/labkit/monitoring"
- "gitlab.com/lupine/go-mimedb"
"gitlab.com/gitlab-org/gitlab-pages/internal/acme"
"gitlab.com/gitlab-org/gitlab-pages/internal/artifact"
@@ -475,6 +476,7 @@ func runApp(config appConfig) {
log.WithError(err).Warn("Loading extended MIME database failed")
}
+ addExtraMIMETypes()
a.Run()
}