Skip to content

Refactor static middleware to be smarter and simpler

17f8746
Select commit
Loading
Failed to load commit list.
Closed

πŸ› Fix static middleware subdirectory browsing redirects losing URL prefix #3668

Refactor static middleware to be smarter and simpler
17f8746
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 8, 2025 in 0s

91.81% (-0.04%) compared to 1569a61

View this Pull Request on Codecov

91.81% (-0.04%) compared to 1569a61

Details

Codecov Report

❌ Patch coverage is 90.56604% with 5 lines in your changes missing coverage. Please review.
βœ… Project coverage is 91.81%. Comparing base (1569a61) to head (17f8746).

Files with missing lines Patch % Lines
middleware/static/static.go 90.56% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3668      +/-   ##
==========================================
- Coverage   91.84%   91.81%   -0.04%     
==========================================
  Files         113      113              
  Lines       11447    11490      +43     
==========================================
+ Hits        10514    10549      +35     
- Misses        669      675       +6     
- Partials      264      266       +2     

β˜” 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.