]> Sergey Matveev's repositories - godlighty.git/blobdiff - rc/go.go
Verbose redirects, tiny DRY
[godlighty.git] / rc / go.go
index 532e29186d84d987a867fe156cdbf65d03085edb..e4b0d8edfbecc7258bcad568f629b322af603f97 100644 (file)
--- a/rc/go.go
+++ b/rc/go.go
@@ -25,9 +25,9 @@ import (
 
 func addGoRepoCfg(host string) {
        godlighty.Hosts[host] = &godlighty.HostCfg{
-               Root:         path.Join(WWW, host),
-               TLS:          newTLSCfg(host),
-               MIMEOverride: map[string]string{"": "text/html"},
+               Root:  path.Join(WWW, host),
+               TLS:   newTLSCfg(host),
+               MIMEs: map[string]string{"": "text/html"},
        }
 }