Skip to content

Commit

Permalink
serveDevfileStarterProject endpoint definitions added.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-valdron committed Feb 7, 2022
1 parent 7b8e5ac commit d5aba7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index/server/pkg/server/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

// serveRootEndpoint sets up the handler for the root (/) endpoint on the server
// If html is requested (i.e. from a web browser), the viewer is displayed, otherwise the devfile index is served.
// If html is requested (i.e. from a web browser), the viewer is displayed, oth erwise the devfile index is served.
func serveRootEndpoint(c *gin.Context) {
// Determine if text/html was requested by the client
acceptHeader := c.Request.Header.Values("Accept")
Expand Down

0 comments on commit d5aba7a

Please sign in to comment.