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:
authorVladimir Shushlin <vshushlin@gitlab.com>2020-10-13 14:13:12 +0300
committerVladimir Shushlin <vshushlin@gitlab.com>2020-10-13 14:13:12 +0300
commitdc721e6866e0efe639279956ac3c26be37933175 (patch)
tree134fd1aa189a701e4f3afae30b2d033b2bb4e8d3 /internal/serving
parent16a1e15632fa670e15ed512753380f45965f26d0 (diff)
parentdc54f4215620da74b70dbd07d0f1369e409d3e0b (diff)
Merge branch 'log-serving-type' into 'master'
Log serving type Closes #477 See merge request gitlab-org/gitlab-pages!369
Diffstat (limited to 'internal/serving')
-rw-r--r--internal/serving/lookup_path.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/serving/lookup_path.go b/internal/serving/lookup_path.go
index 4360358b..1aefe1b8 100644
--- a/internal/serving/lookup_path.go
+++ b/internal/serving/lookup_path.go
@@ -2,6 +2,7 @@ package serving
// LookupPath holds a domain project configuration needed to handle a request
type LookupPath struct {
+ ServingType string // Serving type being used, like `zip`
Prefix string // Project prefix, for example, /my/project in group.gitlab.io/my/project/index.html
Path string // Path is an internal and serving-specific location of a document
IsNamespaceProject bool // IsNamespaceProject is DEPRECATED, see https://gitlab.com/gitlab-org/gitlab-pages/issues/272