Skip to content

Commit

Permalink
web: Bugfix previous commit (embed.FS is prefixed with dist/)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jille committed Aug 17, 2024
1 parent becc2b1 commit a064b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func renderStatic(ctx context.Context, req *http.Request) convreq.HttpResponse {
path = "/index.html"
}

fh, err := staticFiles.Open(path)
fh, err := staticFiles.Open("dist" + path)
if err != nil {
return respond.NotFound("File not found")
}
Expand Down

0 comments on commit a064b89

Please sign in to comment.