We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae703a commit 93f8057Copy full SHA for 93f8057
coderd/coderd.go
@@ -19,7 +19,6 @@ type Options struct {
19
// New constructs the Coder API into an HTTP handler.
20
func New(options *Options) http.Handler {
21
r := chi.NewRouter()
22
-
23
r.Route("/api/v2", func(r chi.Router) {
24
r.Get("/", func(w http.ResponseWriter, r *http.Request) {
25
render.JSON(w, r, struct {
@@ -29,8 +28,6 @@ func New(options *Options) http.Handler {
29
28
})
30
31
32
33
r.NotFound(site.Handler().ServeHTTP)
34
35
return r
36
}
0 commit comments