]> Sergey Matveev's repositories - godlighty.git/blobdiff - rc/example.cfg/go.go
Small comments
[godlighty.git] / rc / example.cfg / go.go
index 6d905d3c03789e19fca8317d0b9f56cb8142284f..11efeea060fbbca949778225df112eff2109f13f 100644 (file)
@@ -8,9 +8,10 @@ import (
 
 func addGoRepoCfg(host string) {
        godlighty.Hosts[host] = &godlighty.HostCfg{
-               Root:  path.Join(WWW, host),
-               TLS:   newTLSCfg(host),
-               MIMEs: map[string]string{"": "text/html"},
+               Root:    path.Join(WWW, host),
+               TLS:     newTLSCfg(host),
+               MIMEs:   map[string]string{"": "text/html"},
+               Indexes: []string{"v1"},
        }
 }