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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/app.go b/app.go
index ec0c36a5..096a1c28 100644
--- a/app.go
+++ b/app.go
@@ -517,6 +517,7 @@ func runApp(config appConfig) {
CleanupInterval: config.ZipCacheCleanup,
RefreshInterval: config.ZipCacheRefresh,
OpenTimeout: config.ZipeOpenTimeout,
+ AllowedPaths: []string{config.PagesRoot},
},
}