mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-18 05:02:15 +01:00
fix(chromium): better default deny list regexp
This commit is contained in:
@@ -621,7 +621,7 @@ func handleChromiumError(err error, url string, options Options) error {
|
||||
)
|
||||
}
|
||||
|
||||
if errors.Is(err, ErrUrlNotAuthorized) {
|
||||
if errors.Is(err, gotenberg.ErrFiltered) {
|
||||
return api.WrapError(
|
||||
err,
|
||||
api.NewSentinelHttpError(
|
||||
|
||||
Reference in New Issue
Block a user