diff options
-rw-r--r-- | app.go | 2 | ||||
-rw-r--r-- | main.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -475,6 +475,8 @@ func runApp(config appConfig) { log.WithError(err).Warn("Loading extended MIME database failed") } + addExtraMIMETypes() + a.Run() } @@ -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") } |