extension String { /// A namespace for well-known path string constants. public enum Path { /// The directory, relative to the working directory, that the website's static files are served from. public static let staticResources = "Resources/Static" } /// A namespace for the security headers' default configuration values. /// /// `Strict-Transport-Security` is intentionally absent: it is only safe over HTTPS and is /// "sticky" in browsers, so it stays off unless explicitly configured in production. public enum Security { /// The default `Content-Security-Policy`. /// /// Restricts every resource to the site's own origin. `style-src` additionally allows /// `'unsafe-inline'` because ``ErrorPage`` ships an inline `