Skip to content

Commit e6e3d6d

Browse files
committed
quick bug fix
1 parent 71e9250 commit e6e3d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webserver/webserver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ func newStaticFileSystem() *staticFileSystem {
241241
func (s *staticFileSystem) Exists(prefix string, path string) bool {
242242
buildpath := ""
243243
if baseurl == "/" {
244-
buildpath = fmt.Sprintf("build/%s", path)
244+
buildpath = fmt.Sprintf("build%s", path)
245245
} else {
246246
buildpath = fmt.Sprintf("build/%s", strings.TrimPrefix(path, baseurl.String()))
247247
}

0 commit comments

Comments
 (0)