Skip to content

Commit

Permalink
feat: add missing security header (#1997)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilayda-cp authored Sep 10, 2024
1 parent 9711682 commit e5a8a3c
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions webapp/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,9 @@
"img-src": [
"'self'",
"data: blob:",
"assets.ubuntu.com",
"res.cloudinary.com",
"api.charmhub.io",
"charmhub.io",
"*.cdn.snapcraftcontent.com",
"www.googletagmanager.com",
"stats.g.doubleclick.net",
# This is needed to allow images from
# https://www.google.*/ads/ga-audiences to load.
"*",
],
"script-src-elem": [
"'self'",
Expand Down

0 comments on commit e5a8a3c

Please sign in to comment.