-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add csp directives options * fix: fix changes for adding CSP directives * fix: remove unwanted space * chore: add additional directives for CSP in routes.js * fix: restrict user to set style-src & script-src in additional directives and example * feat: expose getCSPHeader function for application to set CSP headers for their applicaiton * fix: electrode/lint fix for return type * fix: update name for variable and refactor code * fix: fix lint issues and reformat code * build: add changelog file
- Loading branch information
1 parent
5b06cb0
commit c912c9f
Showing
4 changed files
with
72 additions
and
32 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
common/changes/subapp-server/csp-directive_2024-03-01-04-51.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "subapp-server", | ||
"comment": "Ablity to add CSP directives by application.", | ||
"type": "minor" | ||
} | ||
], | ||
"packageName": "subapp-server" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters