We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71e9250 commit e6e3d6dCopy full SHA for e6e3d6d
webserver/webserver.go
@@ -241,7 +241,7 @@ func newStaticFileSystem() *staticFileSystem {
241
func (s *staticFileSystem) Exists(prefix string, path string) bool {
242
buildpath := ""
243
if baseurl == "/" {
244
- buildpath = fmt.Sprintf("build/%s", path)
+ buildpath = fmt.Sprintf("build%s", path)
245
} else {
246
buildpath = fmt.Sprintf("build/%s", strings.TrimPrefix(path, baseurl.String()))
247
}
0 commit comments