File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -332,8 +332,10 @@ export interface KitConfig {
332332 * directives: {
333333 * 'script-src': ['self']
334334 * },
335+ * // must be specified with either the `report-uri` or `report-to` directives, or both
335336 * reportOnly: {
336- * 'script-src': ['self']
337+ * 'script-src': ['self'],
338+ * 'report-uri': ['/']
337339 * }
338340 * }
339341 * }
Original file line number Diff line number Diff line change @@ -314,8 +314,10 @@ declare module '@sveltejs/kit' {
314314 * directives: {
315315 * 'script-src': ['self']
316316 * },
317+ * // must be specified with either the `report-uri` or `report-to` directives, or both
317318 * reportOnly: {
318- * 'script-src': ['self']
319+ * 'script-src': ['self'],
320+ * 'report-uri': ['/']
319321 * }
320322 * }
321323 * }
You can’t perform that action at this time.
0 commit comments