Skip to content

Commit

Permalink
Backport fix for translate
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed May 29, 2020
1 parent 1108457 commit 452487a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/elements-google/elements/translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ exports.google_translate = {
'../ui/translate.js'
],
csp: {
script: ["https://translate.googleapis.com", "https://translate.google.com"],
script: [
"https://translate.googleapis.com",
"https://translate.google.com",
"'sha256-NNiElek2Ktxo4OLn2zGTHHeUR6b91/P618EXWJXzl3s='"
],
style: ["https://translate.googleapis.com"],
img: ["https://translate.googleapis.com", "https://www.gstatic.com", "https://www.google.com"],
connect: ["https://translate.googleapis.com"]
Expand Down

0 comments on commit 452487a

Please sign in to comment.