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
diff options
context:
space:
mode:
-rw-r--r--app.go2
-rw-r--r--main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/app.go b/app.go
index 5a195396..39f70b4e 100644
--- a/app.go
+++ b/app.go
@@ -475,6 +475,8 @@ func runApp(config appConfig) {
log.WithError(err).Warn("Loading extended MIME database failed")
}
+ addExtraMIMETypes()
+
a.Run()
}
diff --git a/main.go b/main.go
index bf7921e9..1d397922 100644
--- a/main.go
+++ b/main.go
@@ -319,8 +319,6 @@ func appMain() {
}).Print("GitLab Pages Daemon")
log.Printf("URL: https://gitlab.com/gitlab-org/gitlab-pages")
- addExtraMIMETypes()
-
if err := os.Chdir(*pagesRoot); err != nil {
fatal(err, "could not change directory into pagesRoot")
}