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:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-11 21:27:17 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-11 21:27:17 +0300
commite21aea0827eb6e9635385f9f5d3ad5ad1c952cde (patch)
treebec16453bec01428c324d6a54ab99726934504f1 /domain.go
parent3d691bf42432304a3ae6d6465c3f596629891e74 (diff)
Move most of configuration to appConfig
Diffstat (limited to 'domain.go')
-rw-r--r--domain.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/domain.go b/domain.go
index f9ddc7c1..61d2ffc7 100644
--- a/domain.go
+++ b/domain.go
@@ -41,7 +41,7 @@ func (d *domain) serveFile(w http.ResponseWriter, r *http.Request, fullPath stri
}
func (d *domain) resolvePath(w http.ResponseWriter, r *http.Request, projectName, subPath string) (fullPath string, err error) {
- publicPath := filepath.Join(*pagesRoot, d.Group, projectName, "public")
+ publicPath := filepath.Join(d.Group, projectName, "public")
fullPath = filepath.Join(publicPath, subPath)
fullPath, err = filepath.EvalSymlinks(fullPath)