You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/modules/api/api.go
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ type Api struct {
37
37
basicAuthUsernamestring
38
38
basicAuthPasswordstring
39
39
disableHealthCheckLoggingbool
40
+
bearerTokenstring
40
41
41
42
routes []Route
42
43
externalMiddlewares []Middleware
@@ -169,6 +170,7 @@ func (a *Api) Descriptor() gotenberg.ModuleDescriptor {
169
170
fs.String("api-trace-header", "Gotenberg-Trace", "Set the header name to use for identifying requests")
170
171
fs.Bool("api-enable-basic-auth", false, "Enable basic authentication - will look for the GOTENBERG_API_BASIC_AUTH_USERNAME and GOTENBERG_API_BASIC_AUTH_PASSWORD environment variables")
171
172
fs.Bool("api-disable-health-check-logging", false, "Disable health check logging")
0 commit comments