gin-contrib / cors

Official CORS gin's middleware
https://gin-gonic.github.io/gin/
MIT License
1.79k stars 186 forks source link

feat: adds support for private network header #128

Closed Juricakov closed 11 months ago

Juricakov commented 1 year ago

https://developer.chrome.com/blog/private-network-access-update/

Related to https://github.com/gin-contrib/cors/issues/81

codecov-commenter commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ee4df80) 94.03% compared to head (ad77842) 94.22%. Report is 3 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #128 +/- ## ========================================== + Coverage 94.03% 94.22% +0.18% ========================================== Files 3 3 Lines 218 225 +7 ========================================== + Hits 205 212 +7 Misses 12 12 Partials 1 1 ``` | [Flag](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | Coverage Δ | | |---|---|---| | [go-](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | `94.22% <100.00%> (+0.18%)` | :arrow_up: | | [go-1.18](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | `94.22% <100.00%> (+0.18%)` | :arrow_up: | | [go-1.19](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | `94.22% <100.00%> (+0.18%)` | :arrow_up: | | [go-1.20](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | `94.22% <100.00%> (+0.18%)` | :arrow_up: | | [go-1.21](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | `94.22% <100.00%> (+0.18%)` | :arrow_up: | | [macos-latest](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | `94.22% <100.00%> (+0.18%)` | :arrow_up: | | [ubuntu-latest](https://app.codecov.io/gh/gin-contrib/cors/pull/128/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib) | `94.22% <100.00%> (+0.18%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=gin-contrib#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.