Fixed an issue when routing empty "uriResource" inside the "handle(_: context: next: )" function for the DocCMiddleware middleware in the library target.
This commit is contained in:
@@ -112,6 +112,7 @@ private extension Collection where Element == String {
|
||||
|
||||
|
||||
static var pathsRedirect: [String] {[
|
||||
"/archives/SomeArchive/",
|
||||
"/archives/SomeArchive/documentation",
|
||||
"/archives/SomeArchive/documentation/",
|
||||
"/archives/SomeArchive/tutorials/",
|
||||
@@ -142,6 +143,7 @@ private extension Collection where Element == String {
|
||||
]}
|
||||
|
||||
static var urisRedirect: [String] {[
|
||||
"/archives/SomeArchive",
|
||||
"/archives/SomeArchive/",
|
||||
"/archives/SomeArchive/documentation",
|
||||
"/archives/SomeArchive/tutorials",
|
||||
|
||||
Reference in New Issue
Block a user