Change package name to gmi

This commit is contained in:
adnano
2020-09-27 20:20:59 -04:00
parent a4a8d49ca7
commit 38fe1f21dc
11 changed files with 64 additions and 68 deletions

View File

@@ -20,10 +20,10 @@ func main() {
log.Fatal(err)
}
mux := &gemini.ServeMux{}
mux.Handle("/", gemini.FileServer(gemini.Dir("/var/www")))
mux := &gmi.ServeMux{}
mux.Handle("/", gmi.FileServer(gmi.Dir("/var/www")))
server := gemini.Server{
server := gmi.Server{
Handler: mux,
Certificate: cert,
}