feat: Adds pdf support to docker images.
This commit is contained in:
@@ -32,7 +32,7 @@ public struct EnvVars: Codable, Equatable, Sendable {
|
||||
public let pdfEngine: String
|
||||
|
||||
public init(
|
||||
pandocPath: String = "/bin/pandoc",
|
||||
pandocPath: String = "/usr/bin/pandoc",
|
||||
pdfEngine: String = "weasyprint"
|
||||
) {
|
||||
self.pandocPath = pandocPath
|
||||
|
||||
@@ -32,7 +32,8 @@ extension ViewController.Request {
|
||||
// // TestPage(trunks: result.trunks, rooms: result.rooms)
|
||||
// }
|
||||
// }
|
||||
return try! await pdfClient.html(.mock())
|
||||
// return try! await pdfClient.html(.mock())
|
||||
return EmptyHTML()
|
||||
case .login(let route):
|
||||
switch route {
|
||||
case .index(let next):
|
||||
|
||||
Reference in New Issue
Block a user