- Add custom error handler (#1)
- Change several error messages (this change required the breaking semver bump)
- Add tests to improve testing coverage
- Add CI with
.travis.yml
. - Add test coverage with Coveralls.
- Add
coverage
andcoveralls
npm tasks. - Fix missing "," syntax error in
example.js
and README.
- Server now responds to invalid Host/Referer requests with
403 Forbidden
instead of401 Unauthorized
per this discussion. - Add
CODE_OF_CONDUCT.md
- Remove commented-out code in
index.js
- Update README
- Update
tests.js
, server now closes.
Initial release. Supports Host and Referer validation via string matches and regular expressions.