• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nats-io / nats-server / 5988926717
84%

Build:
DEFAULT BRANCH: main
Ran 27 Aug 2023 05:16AM UTC
Jobs 1
Files 51
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Aug 2023 09:49PM UTC coverage: 85.474% (+0.03%) from 85.444%
5988926717

push

github

web-flow
Added CORS support for the monitoring server (#4423)

 - [x] Link to issue, e.g. `Resolves #NNN`
 - [ ] Documentation added (if applicable)
 - [x] Tests added
- [ ] Branch rebased on top of current main (`git pull --rebase origin
main`)
- [ ] Changes squashed to a single commit (described
[here](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html))
 - [ ] Build is green in Travis CI
- [x] You have certified that the contribution is your original work and
that you license the work to the project under the [Apache 2
license](https://github.com/nats-io/nats-server/blob/main/LICENSE)

Resolves #4422 

### Changes proposed in this pull request:

- Added `Access-Control-Allow-Origin` header to allow CORS requests for
the monitoring server
- Added a check in the tests for the header when the `Content-Type` is
`application/json`

60153 of 70376 relevant lines covered (85.47%)

178021.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 5988926717.1 27 Aug 2023 05:16AM UTC 0
85.47
GitHub Action Run
Source Files on build 5988926717
Detailed source file information is not available for this build.
  • Back to Repo
  • 5b18e80d on github
  • Prev Build on main (#5982864655)
  • Next Build on main (#5995678547)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc