Commit graph

15 commits

Author SHA1 Message Date
Manav 2373dab221 Add the URL of the secondary hot storage in the CSP whitelist
Tested by: making this change, and connecting to Phoenix museum (which serves
the secondary hot storage), and verifying that the CSP policy reports that were
getting logged to console no longer appear.
2023-01-06 19:18:52 +05:30
Abhinav 2919e39078 remove workbox dependencies and code 2022-11-19 15:44:09 +05:30
Abhinav 7117669491 block object src to none 2022-03-02 15:44:53 +05:30
Abhinav 1296e961d6 allow blob uri as child-src 2022-03-02 15:42:56 +05:30
Abhinav b95223185d update csp 2022-03-01 10:35:01 +05:30
Abhinav 7798ea83c4 set local csp to report only mode and setup reporting 2022-02-25 10:26:52 +05:30
Abhinav 560fd530af fix local server url 2022-02-20 19:29:12 +05:30
Abhinav 3b3c892b45 update and enable local CSP policies 2022-02-20 18:47:24 +05:30
Abhinav 66bd86946d update csp directives 2022-02-20 18:29:19 +05:30
Abhinav b4399d473b disable report for local csp 2022-01-25 11:10:50 +05:30
Abhinav 4cdc93e345 renamed sentry constants to follow the global convention 2022-01-09 13:55:07 +05:30
Abhinav 5427fbf232 move isSentryEnabled needed by both config util and constants/sentry to seperate file sentryConfigUtil
as neither of the two files can import each other
2022-01-07 18:06:22 +05:30
Abhinav fbf6476d70 move sentry constants to constants/sentry 2022-01-07 17:52:37 +05:30
Abhinav 509750ff8f refactor sentry config 2022-01-07 17:28:05 +05:30
Abhinav 76c1870fff extract constants and util function from next.config file 2022-01-07 11:32:20 +05:30