mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-18 05:02:15 +01:00
removing comment
This commit is contained in:
@@ -27,12 +27,13 @@ func main() {
|
|||||||
}
|
}
|
||||||
systemLogger.InfofOp(op, "Gotenberg %s", version)
|
systemLogger.InfofOp(op, "Gotenberg %s", version)
|
||||||
systemLogger.DebugfOp(op, "configuration: %+v", config)
|
systemLogger.DebugfOp(op, "configuration: %+v", config)
|
||||||
|
if !config.DisableGoogleChrome() {
|
||||||
// start Google Chrome.
|
// start Google Chrome.
|
||||||
// TODO kill proc.
|
|
||||||
_, err = chrome.Start(context.Background(), systemLogger)
|
_, err = chrome.Start(context.Background(), systemLogger)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
systemLogger.FatalOp(op, err)
|
systemLogger.FatalOp(op, err)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// create our API.
|
// create our API.
|
||||||
srv := xhttp.New(config)
|
srv := xhttp.New(config)
|
||||||
// run our API in a goroutine so that it doesn't block.
|
// run our API in a goroutine so that it doesn't block.
|
||||||
|
|||||||
Reference in New Issue
Block a user