Commit d0c83c8
committed
fix(seo): use || instead of ?? for sitemap hostname fallback
?? only falls back on null/undefined; an empty string (the default in
.env.example) would pass through as the hostname and produce an invalid
sitemap. || also handles empty strings.1 parent a37445c commit d0c83c8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments