mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-11 01:42:15 +01:00
0b211c39eba06c99ea0561953de5923f648b6bdf
IgnoreResourceHttpStatusDomains option to filter out resources based on their hostnames (#1434)
* Introduced `IgnoreResourceHttpStatusDomains` option to filter out resources based on their hostnames - Introduced `IgnoreResourceHttpStatusDomains` option to filter out resources based on their hostnames during HTTP status code checks. - Updated relevant functions to handle domain normalization and matching. - Enhanced the form data handling to include the new option. - Added integration test scenario to verify the functionality of ignoring specified domains. * Updated the `normalizeDomains` function to initialize the `normalized` slice with a predefined capacity based on the input `domains` slice length, improving memory allocation efficiency.
feat(chromium): add
IgnoreResourceHttpStatusDomains option to filter out resources based on their hostnames (#1434)
feat(chromium): add
IgnoreResourceHttpStatusDomains option to filter out resources based on their hostnames (#1434)
Gotenberg
A containerized API for seamless PDF conversion
Gotenberg provides a developer-friendly API to interact with powerful tools like Chromium and LibreOffice for converting numerous document formats (HTML, Markdown, Word, Excel, etc.) into PDF files, and more!
Quick Start
Open a terminal and run the following command:
docker run --rm -p 3000:3000 gotenberg/gotenberg:8
Alternatively, using the historic Docker repository from our sponsor TheCodingMachine:
docker run --rm -p 3000:3000 thecodingmachine/gotenberg:8
The API is now available on your host at http://localhost:3000.
Head to the documentation to learn how to interact with it 🚀
Sponsors
Sponsorships help maintain and improve Gotenberg - become a sponsor ❤️
Powered by
Description
Languages
Go
63.6%
Gherkin
34.6%
Dockerfile
1.3%
Makefile
0.4%
