diff --git a/Sources/Routing/Routing/RouterNode.swift b/Sources/Routing/Routing/RouterNode.swift index 180cfe9e..7abb4450 100644 --- a/Sources/Routing/Routing/RouterNode.swift +++ b/Sources/Routing/Routing/RouterNode.swift @@ -67,8 +67,7 @@ final class RouterNode { let node: RouterNode if let fallback = self.catchall { node = fallback - } - else { + } else { node = RouterNode(value: Data([.asterisk])) self.catchall = node }