Skip to content

Commit

Permalink
Merge 9e84cb1 into 616f60f
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes committed Jul 16, 2019
2 parents 616f60f + 9e84cb1 commit 237537b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitpod.yml
@@ -0,0 +1,3 @@
tasks:
- init: npm install
command: npm run lint && npm run cover
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -333,7 +333,7 @@ The following options are provided by the underlying [http-proxy](https://github
- **option.cookieDomainRewrite**: rewrites domain of `set-cookie` headers. Possible values:
- `false` (default): disable cookie rewriting
- String: new domain, for example `cookieDomainRewrite: "new.domain"`. To remove the domain, use `cookieDomainRewrite: ""`.
- Object: mapping of domains to new domains, use `"*"` to match all domains.
- Object: mapping of domains to new domains, use `"*"` to match all domains.
For example keep one domain unchanged, rewrite one domain and remove other domains:
```
cookieDomainRewrite: {
Expand Down Expand Up @@ -487,6 +487,10 @@ $ yarn test
$ yarn cover
```

Or run the test suite automatically in Gitpod, a free online dev environment for GitHub:

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/chimurai/http-proxy-middleware/tree/master/test/unit)

## Changelog

- [View changelog](https://github.com/chimurai/http-proxy-middleware/blob/master/CHANGELOG.md)
Expand Down

0 comments on commit 237537b

Please sign in to comment.