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
path: root/app.go
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-16 19:37:10 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-16 19:37:10 +0300
commit9747e5820ce129895e95355b254d110cb39496a4 (patch)
tree15de284bad0b0344738dcfe7fe57596825e2b661 /app.go
parenta9b41da7fc5a07eae0a72dc7e59f323a73e74a54 (diff)
Fix small bugs
Diffstat (limited to 'app.go')
-rw-r--r--app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.go b/app.go
index 4ab6a3e7..4c690845 100644
--- a/app.go
+++ b/app.go
@@ -109,11 +109,11 @@ func (a *theApp) Run() {
}
// Listen for HTTP proxy requests
- if a.listenProxy != 0 {
+ if a.ListenProxy != 0 {
wg.Add(1)
go func() {
defer wg.Done()
- err := listenAndServe(a.listenProxy, a.ServeProxy, a.HTTP2, nil)
+ err := listenAndServe(a.ListenProxy, a.ServeProxy, a.HTTP2, nil)
if err != nil {
log.Fatal(err)
}