Skip to content

Commit

Permalink
quick bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aetaric committed Oct 5, 2023
1 parent 71e9250 commit e6e3d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webserver/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func newStaticFileSystem() *staticFileSystem {
func (s *staticFileSystem) Exists(prefix string, path string) bool {
buildpath := ""
if baseurl == "/" {
buildpath = fmt.Sprintf("build/%s", path)
buildpath = fmt.Sprintf("build%s", path)
} else {
buildpath = fmt.Sprintf("build/%s", strings.TrimPrefix(path, baseurl.String()))
}
Expand Down

0 comments on commit e6e3d6d

Please sign in to comment.