Skip to content

Commit

Permalink
fix security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
cooperlarson committed Aug 19, 2024
1 parent a31fa0c commit 40a4608
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Steal ownership of production server directory
run: sudo chown -R gh-runner:gh-runner /srv/portfolio

- name: Copy existing node modules
- name: Link existing node modules
run: sudo ln -s /srv/portfolio/node_modules /home/gh-runner/actions-runner/_work/portfolio/portfolio/

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion csp.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const policies = {
],
'font-src': ["'self'"],
'frame-src': ["'self'"],
'connect-src': ["'self'", 'https://maps.googleapis.com', 'http://localhost:33000/api'],
'connect-src': ["'self'", 'https://maps.googleapis.com', 'http://localhost:33000/api/users/me'],
}

module.exports = Object.entries(policies)
Expand Down

0 comments on commit 40a4608

Please sign in to comment.