Skip to content

Commit

Permalink
fix(ui): fxies an issue where the ui would display 404
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed Oct 14, 2020
1 parent 8db5d94 commit 31b3748
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 31b3748

Please # to comment.