Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup the CSP and update next config #470

Merged
merged 3 commits into from
Apr 23, 2024
Merged

Conversation

thostetler
Copy link
Member

This adds back in the CSP header
Adds several settings to the nextjs config
Adds a build:local command for running production build locally (without docker)

Report-only and for now not using nonces so moved the config into next.config
Also fixes warnings about feature-policy violations
Copy link

codecov bot commented Apr 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.3%. Comparing base (b077706) to head (0d25936).
Report is 29 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff            @@
##           master    #470     +/-   ##
========================================
- Coverage    47.3%   47.3%   -0.0%     
========================================
  Files         413     425     +12     
  Lines       41996   44298   +2302     
  Branches      597     597             
========================================
+ Hits        19861   20918   +1057     
- Misses      22124   23369   +1245     
  Partials       11      11             

see 1 file with indirect coverage changes

@thostetler thostetler merged commit 620b938 into adsabs:master Apr 23, 2024
3 of 4 checks passed
@thostetler thostetler deleted the fix-csp branch April 23, 2024 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants