Skip to content

Commit

Permalink
fix: Add Cohesion onetrust and useBeacon configs (#37)
Browse files Browse the repository at this point in the history
RV EDX-2287
  • Loading branch information
julianajlk authored Dec 20, 2024
1 parent 6d02b3b commit 6740ac1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
7 changes: 3 additions & 4 deletions audit-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
"GHSA-952p-6rrq-rcjv",
"GHSA-4vvj-4cpr-p986",
"GHSA-qwcr-r2fm-qrc7",
"GHSA-qw6h-vgh9-j6wx",
"GHSA-9wv6-86v2-598j",
"GHSA-m6fv-jmcg-4jfg",
"GHSA-cm22-4g7w-348p",
"GHSA-c7qv-q95q-8v27",
"GHSA-3xgq-45jj-v275"
"GHSA-3xgq-45jj-v275",
"GHSA-mwcw-c2x4-8c55",
"GHSA-rhx6-c78j-4q9w"
],
"moderate": true
}
11 changes: 10 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,16 @@
domainWhitelist: <%= htmlWebpackPlugin?.options?.cohesionConfig?.tagularDomainWhitelist %>,
apiVersion: 'v2/t',
multiparty: true,
}
useBeacon: true,
},
consent: {
onetrust: {
enabled: true,
optIn: true,
},
required: true,
domain: '<%= htmlWebpackPlugin?.options?.cohesionConfig?.tagularCookieDomain ? "." + htmlWebpackPlugin?.options?.cohesionConfig?.tagularCookieDomain : ".edx.org" %>',
},
})
</script>
<% } %>
Expand Down

0 comments on commit 6740ac1

Please sign in to comment.