Skip to content

Commit

Permalink
client/webserver: do not check empty CustomSiteDir
Browse files Browse the repository at this point in the history
  • Loading branch information
chappjc committed Oct 26, 2021
1 parent a6eca9e commit 6743411
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/webserver/webserver.go
Expand Up @@ -176,6 +176,9 @@ func New(cfg *Config) (*WebServer, error) {
absDir,
filepath.Clean(filepath.Join(execPath, "../../webserver/site")),
} {
if dir == "" {
continue
}
log.Debugf("Looking for site in %s", dir)
if folderExists(dir) {
siteDir = dir
Expand Down

0 comments on commit 6743411

Please sign in to comment.