Skip to content

Conversation

hairylime
Copy link

I raised an issue to be able to configure multiple webhooks for different types, and this PR addresses that - however I ran into a more pressing related need.

We need different headers for different documents, but after reviewing the chrome print handling and html-chrome-pdf, the only way this seems possible is via the printOptions value in html-chrome-pdf - so I made this change to allow for configuring different headers. I left the existing configuration alone, so the webhook and generator configuration at the top level can be considered the default (if no doctype is specified or no webhook/generator is specified for a doctype.

Finally there didn't seem to be a way to select a s3 configuration, so I mapped this to doctype (otherwise it uses the full set as currently configured).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant