Skip to content

Commit

Permalink
Merge pull request #1195 from FabianKramm/fabian-dev
Browse files Browse the repository at this point in the history
fix(ui): fxies an issue where the ui would display 404
  • Loading branch information
FabianKramm committed Oct 14, 2020
2 parents defb68d + 31b3748 commit 95433b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/devspace/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ func newHandler(configLoader loader.ConfigLoader, config *latest.Config, generat
}

handler.mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, "index.html")
http.ServeFile(w, r, filepath.Join(path, "index.html"))
})
handler.mux.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir(filepath.Join(path, "static")))))
handler.mux.HandleFunc("/api/version", handler.version)
Expand Down

0 comments on commit 95433b0

Please # to comment.