Skip to content

Fix console errors#3006

Merged
jhaals merged 3 commits intomasterfrom
fix/warnings
Sep 9, 2025
Merged

Fix console errors#3006
jhaals merged 3 commits intomasterfrom
fix/warnings

Conversation

@jhaals
Copy link
Copy Markdown
Owner

@jhaals jhaals commented Sep 9, 2025

  • Updated Content-Security-Policy in netlify.toml to include img-src directive.
  • Modified SecurityHeadersHandler in server.go to support img-src.
  • Replaced inline theme initialization script in index.html with an external theme-init.js file for better maintainability.
  • Added theme-init.js to handle theme mode detection and application.

- Updated Content-Security-Policy in netlify.toml to include img-src directive.
- Modified SecurityHeadersHandler in server.go to support img-src.
- Replaced inline theme initialization script in index.html with an external theme-init.js file for better maintainability.
- Added theme-init.js to handle theme mode detection and application.

Signed-off-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
Signed-off-by: Johan Haals <johan.haals@gmail.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.21%. Comparing base (df15cae) to head (7903854).
⚠️ Report is 17 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3006      +/-   ##
==========================================
+ Coverage   82.18%   82.21%   +0.02%     
==========================================
  Files           8        8              
  Lines         741      742       +1     
==========================================
+ Hits          609      610       +1     
  Misses         98       98              
  Partials       34       34              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jhaals
Copy link
Copy Markdown
Owner Author

jhaals commented Sep 9, 2025

fixes #3000

@jhaals jhaals merged commit b88341a into master Sep 9, 2025
13 of 14 checks passed
@jhaals jhaals deleted the fix/warnings branch September 9, 2025 13:36
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.

1 participant