1
This commit is contained in:
Alex Yatskov 2016-12-28 18:26:53 -08:00
parent c55f513e68
commit 055d0e4818

View File

@ -57,7 +57,7 @@ func exportDb(inputPath, outputDir, format, title string, stride int, pretty boo
}
func serveDb(serveDir string, port int) error {
log.Printf("starting dictionary server on port %d for extension...\n", port)
log.Printf("starting dictionary server on port %d...\n", port)
return http.ListenAndServe(fmt.Sprintf(":%d", port), http.FileServer(http.Dir(serveDir)))
}