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:
authorJaime Martinez <jmartinez@gitlab.com>2020-11-19 03:43:10 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-11-30 02:15:10 +0300
commit22ede0d8ea69bf26929825a75dad4172ef25cc26 (patch)
treed14744a948992913c09827a6914fb770a86eed92 /internal/serving
parenta7db22b91f700f5f8ed17fd141a21b763c2af87e (diff)
Move zip flags to config
Diffstat (limited to 'internal/serving')
-rw-r--r--internal/serving/disk/zip/serving.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/serving/disk/zip/serving.go b/internal/serving/disk/zip/serving.go
index 53e66f13..b552050c 100644
--- a/internal/serving/disk/zip/serving.go
+++ b/internal/serving/disk/zip/serving.go
@@ -14,7 +14,7 @@ var instance serving.Serving
// from a zip archives opened from a URL, most likely stored in object storage
func Instance() serving.Serving {
if instance == nil {
- instance = disk.New(vfs.Instrumented(zip.New(config.DefaultConfig.GetZip())))
+ instance = disk.New(vfs.Instrumented(zip.New(config.Default.Zip)))
}
return instance