mirror of https://github.com/statping/statping
docker build, static golang builds
parent
969beb2cb5
commit
f914262ea5
|
@ -157,7 +157,6 @@ func Router() *mux.Router {
|
||||||
api.Handle("/api/oauth/{provider}", http.HandlerFunc(oauthHandler))
|
api.Handle("/api/oauth/{provider}", http.HandlerFunc(oauthHandler))
|
||||||
r.Handle("/.well-known/", http.StripPrefix("/.well-known/", http.FileServer(http.Dir(dir+"/.well-known"))))
|
r.Handle("/.well-known/", http.StripPrefix("/.well-known/", http.FileServer(http.Dir(dir+"/.well-known"))))
|
||||||
r.NotFoundHandler = http.HandlerFunc(error404Handler)
|
r.NotFoundHandler = http.HandlerFunc(error404Handler)
|
||||||
r.Handle("/", http.HandlerFunc(indexHandler))
|
|
||||||
return r
|
return r
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue