refactor: remove debugging statement
This commit is contained in:
parent
03eccdadeb
commit
7c77f4f84b
@ -9,7 +9,6 @@ import (
|
|||||||
"git.markbailey.dev/cerbervs/ptpp/lib/logger"
|
"git.markbailey.dev/cerbervs/ptpp/lib/logger"
|
||||||
"git.markbailey.dev/cerbervs/ptpp/lib/middleware"
|
"git.markbailey.dev/cerbervs/ptpp/lib/middleware"
|
||||||
"git.markbailey.dev/cerbervs/ptpp/util"
|
"git.markbailey.dev/cerbervs/ptpp/util"
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -78,7 +77,6 @@ func (r Router) RegisterFs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fs := http.FileServer(http.Dir(util.GetFullyQualifiedPath("/public")))
|
fs := http.FileServer(http.Dir(util.GetFullyQualifiedPath("/public")))
|
||||||
log.Println("Serving static files from: " + util.GetFullyQualifiedPath("/public"))
|
|
||||||
r.Mux.Handle("GET "+r.BasePath+"public/", http.StripPrefix("/public/", fs))
|
r.Mux.Handle("GET "+r.BasePath+"public/", http.StripPrefix("/public/", fs))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user