Skip to content

Commit

Permalink
Merge pull request #1417 from argos-ci/fix-csp-gitlab-images
Browse files Browse the repository at this point in the history
fix: fix CSP for GitLab images
  • Loading branch information
gregberge authored Nov 16, 2024
2 parents b0721b1 + 5234d2a commit 60a9440
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/backend/src/web/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,12 @@ export const createApp = async (): Promise<express.Express> => {
"'self'",
"data:",
"https://argos-ci.com",
// TwicPics images
"https://argos.twic.pics",
// GitHub and GitLab avatars
"https://github.com",
"https://avatars.githubusercontent.com",
"https://argos.twic.pics",
"https://gitlab.com",
],
"script-src": [
"'self'",
Expand Down

0 comments on commit 60a9440

Please sign in to comment.