diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-11 21:27:17 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-11 21:27:17 +0300 |
commit | e21aea0827eb6e9635385f9f5d3ad5ad1c952cde (patch) | |
tree | bec16453bec01428c324d6a54ab99726934504f1 /domain.go | |
parent | 3d691bf42432304a3ae6d6465c3f596629891e74 (diff) |
Move most of configuration to appConfig
Diffstat (limited to 'domain.go')
-rw-r--r-- | domain.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |