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:
Diffstat (limited to 'internal/domain/domain.go')
-rw-r--r--internal/domain/domain.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/domain/domain.go b/internal/domain/domain.go
index 6e6ffde0..06f99914 100644
--- a/internal/domain/domain.go
+++ b/internal/domain/domain.go
@@ -57,12 +57,12 @@ func (d *Domain) GetLookupPath(r *http.Request) *serving.LookupPath {
// Handler returns a serving handler for this request
func (d *Domain) Handler(w http.ResponseWriter, r *http.Request) serving.Handler {
- project, subpath := d.resolve(r)
+ lookup, subpath := d.resolve(r)
return serving.Handler{
Writer: w,
Request: r,
- LookupPath: project,
+ LookupPath: lookup,
SubPath: subpath,
Serving: disk.New(),
}