diff --git a/http2/Sources/App/Application+build.swift b/http2/Sources/App/Application+build.swift index da791f42..b3aa4e2a 100644 --- a/http2/Sources/App/Application+build.swift +++ b/http2/Sources/App/Application+build.swift @@ -41,7 +41,7 @@ func buildApplication(arguments: some AppArguments, configuration: HBApplication } let app = try HBApplication( - responder: router.buildResponder(), + router: router, server: .http2(tlsConfiguration: arguments.tlsConfiguration), configuration: configuration )