]> Sergey Matveev's repositories - godlighty.git/blob - rc/example.cfg/if.mirror.cypherpunks.ru.go
Unify copyright comment format
[godlighty.git] / rc / example.cfg / if.mirror.cypherpunks.ru.go
1 // Some MIMEs overrides example
2
3 package cfg
4
5 import "go.stargrave.org/godlighty"
6
7 func init() {
8         addStaticListedDir("www.if.mirror.cypherpunks.ru", "/storage/if")
9         godlighty.Hosts["www.if.mirror.cypherpunks.ru"].MIMEs = map[string]string{
10                 "directory-tree": "text/plain",
11                 "Index":          "text/plain",
12                 "Master-Index":   "text/plain",
13         }
14         godlighty.Hosts["www.if.mirror.cypherpunks.ru"].Readmes = []string{"Index"}
15 }