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/source/disk/custom.go')
-rw-r--r--internal/source/disk/custom.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/source/disk/custom.go b/internal/source/disk/custom.go
index f120cb65..fb2aafcd 100644
--- a/internal/source/disk/custom.go
+++ b/internal/source/disk/custom.go
@@ -15,6 +15,7 @@ type customProjectResolver struct {
func (p *customProjectResolver) Resolve(r *http.Request) (*serving.Request, error) {
lookupPath := &serving.LookupPath{
+ ServingType: "file",
Prefix: "/",
Path: p.path,
IsNamespaceProject: false,