We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e27bd7b commit e3a0de6Copy full SHA for e3a0de6
Sources/UnidocUI/Endpoints/Unidoc.SitemapEndpoint.swift
@@ -44,7 +44,7 @@ extension Unidoc.SitemapEndpoint:HTTP.ServerEndpoint
44
let output:Unidoc.SitemapQuery.Output = self.value
45
else
46
{
47
- return .error("Query for endpoint '\(Self.self)' returned no outputs!")
+ return .notFound("Query for endpoint '\(Self.self)' returned no outputs!")
48
}
49
50
let prefix:String = "https://swiftinit.org\(Unidoc.ServerRoot.docs)/\(output.package)"
0 commit comments