Set the canonical site origin in the Website library target.
The template's new `site.origin` key arrived empty, as bootstrap fills it in. Pointing it at the origin robots.txt and sitemap.xml already carry turns on the canonical and hreflang links, and the HTTPS redirect the production compose already trusts the forwarded proto for.
This commit is contained in:
@@ -61,6 +61,6 @@ extension String {
|
||||
/// Bootstrap writes the canonical URL it prompts for here, leaving it empty for the placeholder. An empty or non-HTTPS origin disables
|
||||
/// the HTTPS redirect, which `https.trustForwardedProto` must enable besides — a `301` is cached for a long time, so it is never issued
|
||||
/// at a host nobody named.
|
||||
public static let origin = ""
|
||||
public static let origin = "https://ccn.rock-n-co.de"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user