From e14d1bd7e54d2ff1849a5dcd25265c8db7ee3283 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Wed, 1 Oct 2025 16:02:26 +0200 Subject: [PATCH] Fixed some issues in the DocCMiddleware type in the library target that were encountered while compiling to Swift 6.0 in SPI. --- .../HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift b/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift index 67712da..8d3f79b 100644 --- a/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift +++ b/Sources/HummingbirdDocC/Public/Middlewares/DocCMiddleware.swift @@ -40,7 +40,6 @@ import struct Logging.Logger /// 15. *Redirects the URI path `//index/` to the resource on `/.doccarchive/index/`* /// 16. *Redirects the URI path `//js/` to the resource on `/.doccarchive/js/`* /// 17. *Redirects the URI path `//videos/` to the resource on `/.doccarchive/videos/`* -/// public struct DocCMiddleware< Context: RequestContext, FileSystemProvider: FileProvider @@ -83,7 +82,7 @@ public struct DocCMiddleware< threadPool: configuration.threadPool, logger: logger ), - logger: logger, + logger: logger ) } @@ -95,7 +94,7 @@ public struct DocCMiddleware< init( configuration: DocCConfiguration, fileProvider: FileSystemProvider, - logger: Logger, + logger: Logger ) { self.logger = logger self.fileProvider = fileProvider