Skip to content

Commit 0b7aa71

Browse files
committed
fix: honour sitempa disabled
1 parent ebfdb8e commit 0b7aa71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2600,7 +2600,7 @@ func main() {
26002600
s := newServer(rootAbs, *catMax, *logfileFlag, *baseURL)
26012601

26022602
// Special case: if sitemap is 0 and baseURL is set, generate once and exit
2603-
if *sitemapInterval == 0 && *baseURL != "" {
2603+
if *baseURL != "" {
26042604
fmt.Println("=== Generating sitemap (debug mode) ===")
26052605
fmt.Printf("Base URL: %s\n", *baseURL)
26062606
fmt.Printf("Root directory: %s\n", rootAbs)

0 commit comments

Comments
 (0)