diff --git a/README.md b/README.md index 5101a03..bd75e85 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,7 @@ This package ships with a few commonly used presets to get your started. *We're |----------------------------|---------------------------------------------------------------------------------------| | `Basic` | Allow requests to scripts, images… within the application | | `AdobeFonts` | [fonts.adobe.com](https://fonts.adobe.com) (previously typekit.com) | +| `Algolia` | [algolia.com](https://www.algolia.com) | | `Bunny Fonts` | [fonts.bunny.net](https://fonts.bunny.net/) | | `Cloudflare Turnstile` | [cloudflare.com](https://www.cloudflare.com/application-services/products/turnstile/) | | `Cloudflare Web Analytics` | [cloudflare.com](https://developers.cloudflare.com/web-analytics/) | diff --git a/src/Presets/Algolia.php b/src/Presets/Algolia.php new file mode 100644 index 0000000..6929972 --- /dev/null +++ b/src/Presets/Algolia.php @@ -0,0 +1,19 @@ +add(Directive::CONNECT, [ + 'https://*.algolia.net', + 'https://*.algolianet.com', + ]); + } +}