package cfg import ( "path" "go.stargrave.org/godlighty" ) func addGoRepoCfg(host string) { godlighty.Hosts[host] = &godlighty.HostCfg{ Root: path.Join(WWW, host), EdDSATLS: newTLSCfg(host), MIMEs: map[string]string{"": "text/html"}, Indices: []string{"v1"}, } } func init() { addGoRepoCfg("go.cypherpunks.ru") addGoRepoCfg("go.stargrave.org") }