Skip to content

Commit 2dbaac3

Browse files
committed
DO-1852: include cspObject property to specify CSP file
1 parent 572e674 commit 2dbaac3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/static-hosting/lib/static-hosting.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,11 @@ export interface CSPConfig {
335335
* be retrieved or parsed
336336
*/
337337
fallbackCsp?: string;
338+
339+
/**
340+
* File containing CSP rules. Default: `csp.txt`
341+
*/
342+
cspObject?: string;
338343
}
339344

340345
export interface remapPath {

0 commit comments

Comments
 (0)