Skip to content

Commit

Permalink
fix: fix CSP for GitLab images
Browse files Browse the repository at this point in the history
Fix ARGOS-BROWSER-9H
  • Loading branch information
gregberge committed Nov 16, 2024
1 parent b0721b1 commit 5234d2a
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 5234d2a

Please sign in to comment.