Skip to content

Commit

Permalink
add dps to form-action csp directive
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfield-mj committed Oct 30, 2023
1 parent 5efc97b commit 16fcb84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export default function createApp(services: Services): Express {
// Hash allows inline script pulled in from https://github.com/alphagov/govuk-frontend/blob/master/src/govuk/template.njk
scriptSrc,
imgSrc,
formAction: [`'self' ${config.apis.digitalPrisonServiceUrl}`],
connectSrc,
styleSrc,
fontSrc,
Expand Down

0 comments on commit 16fcb84

Please sign in to comment.