diff --git a/main.go b/main.go old mode 100644 new mode 100755 index 68ff664c..477cda11 --- a/main.go +++ b/main.go @@ -1,14 +1,13 @@ package main import ( -"bufio" - "fmt" + "bufio" "flag" + "fmt" - "github.com/ewhal/nyaa/util/log" - "github.com/ewhal/nyaa/router" "github.com/ewhal/nyaa/config" - + "github.com/ewhal/nyaa/router" + "github.com/ewhal/nyaa/util/log" "net/http" "os" @@ -16,7 +15,6 @@ import ( ) func RunServer(conf *config.Config) { - http.Handle("/", router.Router) // Set up server, diff --git a/templates/index.html b/templates/index.html old mode 100644 new mode 100755 index 8bdf00d7..953b59d4 --- a/templates/index.html +++ b/templates/index.html @@ -41,7 +41,8 @@