diff --git a/main.go b/main.go index 863513b..8791b47 100644 --- a/main.go +++ b/main.go @@ -31,7 +31,7 @@ func main() { for dirName, dirToServe := range config.Config.ServeDirs { fmt.Println("Registering route /serve/" + url.QueryEscape(dirName)) - app.Static("/serve/"+url.QueryEscape(dirName), dirToServe) + app.Static("/serve/"+url.QueryEscape(dirName), dirToServe) // For some reason this doesn't work and this is not my fault. } app.Use("/thumb", route.HandleThumb)