Skip to content

Commit

Permalink
feat(packages/sui-ssr): revert csp report
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosvillu committed Oct 19, 2023
1 parent 6026c8b commit 0c024ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sui-ssr/server/middlewares/ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ export default async (req, res, next) => {
'Server-Timing': formatServerTimingHeader({
...performance,
...ssrPerformance
}),
'Content-Security-Policy-Report-Only': `default-src 'self'; report-uri ${CSP_REPORT_PATH}`
})
// 'Content-Security-Policy-Report-Only': `default-src 'self'; report-uri ${CSP_REPORT_PATH}`
})
res.write(HtmlBuilder.buildHead({headTplPart, headString, htmlAttributes}))
res.flush()
Expand Down

0 comments on commit 0c024ba

Please sign in to comment.