diff --git a/backend/app/service/http/http.go b/backend/app/service/http/http.go index 968032f..2cc20bc 100644 --- a/backend/app/service/http/http.go +++ b/backend/app/service/http/http.go @@ -123,7 +123,10 @@ func Serve(cmd *cobra.Command, args []string) error { file, err := fabfile.Find(filepath.Join(svc.App.DistAdmin, f)) if err != nil { - return ctx.SendStatus(fiber.StatusNotFound) + file, err = fabfile.Find(filepath.Join(svc.App.DistAdmin, "index.html")) + if err != nil { + return ctx.SendStatus(fiber.StatusNotFound) + } } return ctx.SendFile(file) })