File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,7 @@ This package ships with a few commonly used presets to get your started. *We're
167
167
| ` Google TLD's ` | Allow all Google Top Level Domains for 'connect' and 'image' |
168
168
| ` Google ` | Google Analytics & Tag Manager |
169
169
| ` GoogleFonts ` | [ fonts.google.com] ( https://fonts.google.com ) |
170
+ | ` GoogleLookerStudio ` | [ lookerstudio.google.com] ( https://lookerstudio.google.com ) |
170
171
| ` GoogleRecaptcha ` | [ developers.google.com] ( https://developers.google.com/recaptcha ) |
171
172
| ` Hcaptcha ` | [ hcaptcha.com] ( https://docs.hcaptcha.com ) |
172
173
| ` Heap Analytics ` | [ heap.io] ( https://www.heap.io/ ) |
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Spatie \Csp \Presets ;
4
+
5
+ use Spatie \Csp \Directive ;
6
+ use Spatie \Csp \Policy ;
7
+ use Spatie \Csp \Preset ;
8
+
9
+ class GoogleLookerStudio implements Preset
10
+ {
11
+ public function configure (Policy $ policy ): void
12
+ {
13
+ $ policy
14
+ ->add (Directive::FRAME , [
15
+ 'https://lookerstudio.google.com ' ,
16
+ ]);
17
+ }
18
+ }
You can’t perform that action at this time.
0 commit comments