test get to /
This commit is contained in:
@@ -134,7 +134,7 @@ var public = func() http.FileSystem {
|
||||
}()
|
||||
|
||||
func (h Handler) handle(session Session, w http.ResponseWriter, r *http.Request) error {
|
||||
if !strings.HasPrefix(r.URL.Path, "/api") {
|
||||
if !strings.HasPrefix(r.URL.Path, "/api/") {
|
||||
http.FileServer(public).ServeHTTP(w, r)
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user