Skip to content

Commit

Permalink
New Subpaths for UI (#792)
Browse files Browse the repository at this point in the history
Additional Routing for UI
  • Loading branch information
ralikio authored and kyma-gopher-bot committed Aug 22, 2024
1 parent 2efe6ec commit dc671d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ func (a *API) AttachRoutes(router *http.ServeMux) {
router.HandleFunc("GET /api/service-bindings/{id}", a.GetServiceBinding)
router.HandleFunc("POST /api/service-bindings", a.CreateServiceBinding)
router.HandleFunc("DELETE /api/service-bindings/{id}", a.DeleteServiceBinding)
router.Handle("GET /offerings", http.StripPrefix("/offerings", http.FileServer(a.frontendFS)))
router.Handle("GET /instances", http.StripPrefix("/instances", http.FileServer(a.frontendFS)))
router.Handle("GET /", http.FileServer(a.frontendFS))
}

Expand Down

0 comments on commit dc671d2

Please sign in to comment.