Skip to content

Add new CORS configuration options#2455

Merged
acelaya merged 6 commits into
shlinkio:developfrom
acelaya-forks:feature/cors-customization
Jul 16, 2025
Merged

Add new CORS configuration options#2455
acelaya merged 6 commits into
shlinkio:developfrom
acelaya-forks:feature/cors-customization

Conversation

@acelaya

@acelaya acelaya commented Jul 5, 2025

Copy link
Copy Markdown
Member

Closes #2418

Add new configuration options/env vars to allow customizing how Shlink sets CORS headers.

@codecov

codecov Bot commented Jul 5, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 77.77778% with 6 lines in your changes missing coverage. Please review.

Project coverage is 93.68%. Comparing base (9e93e34) to head (f5c6bc8).
Report is 9 commits behind head on develop.

Files with missing lines Patch % Lines
module/Core/src/Config/Options/CorsOptions.php 68.42% 6 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #2455      +/-   ##
=============================================
- Coverage      93.75%   93.68%   -0.08%     
- Complexity      1718     1730      +12     
=============================================
  Files            278      279       +1     
  Lines           5910     5934      +24     
=============================================
+ Hits            5541     5559      +18     
- Misses           369      375       +6     

☔ 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.

@acelaya acelaya force-pushed the feature/cors-customization branch from ab43d98 to cd4fcc9 Compare July 8, 2025 11:07
@acelaya acelaya force-pushed the feature/cors-customization branch from 8950365 to f5c6bc8 Compare July 16, 2025 06:39
@acelaya acelaya marked this pull request as ready for review July 16, 2025 06:40
@acelaya acelaya merged commit e762d28 into shlinkio:develop Jul 16, 2025
21 of 23 checks passed
@acelaya acelaya deleted the feature/cors-customization branch July 16, 2025 06:41
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.

Allow some customizations on CORS configuration

1 participant