refactor(handlers): Use shared gotenberg

This commit is contained in:
2024-12-12 16:53:51 +01:00
parent 1296c9e399
commit 5c932158e9
5 changed files with 9 additions and 6 deletions

View File

@@ -80,6 +80,9 @@ func main() {
Templater: &services.DefaultTemplater{
BarcodeService: barcodeGenerator,
},
Converter: &services.GotenbergConverter{
BaseUrl: config.GotenbergBaseUrl,
},
}
// Create a new Fiber instance