Skip to content

Commit b0f1a62

Browse files
committed
Update Readme for "Vercel" rename
1 parent 843e56e commit b0f1a62

File tree

1 file changed

+5
-20
lines changed

1 file changed

+5
-20
lines changed

README.md

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# serve-handler
22

3-
[![Build Status](https://circleci.com/gh/zeit/serve-handler.svg?&style=shield)](https://circleci.com/gh/zeit/serve-handler)
4-
[![codecov](https://codecov.io/gh/zeit/serve-handler/branch/master/graph/badge.svg)](https://codecov.io/gh/zeit/serve-handler)
3+
[![Build Status](https://circleci.com/gh/vercel/serve-handler.svg?&style=shield)](https://circleci.com/gh/vercel/serve-handler)
4+
[![codecov](https://codecov.io/gh/vercel/serve-handler/branch/master/graph/badge.svg)](https://codecov.io/gh/vercel/serve-handler)
55
[![install size](https://packagephobia.now.sh/badge?p=serve-handler)](https://packagephobia.now.sh/result?p=serve-handler)
6-
[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/zeit)
76

8-
This package represents the core of [serve](https://github.com/zeit/serve). It can be plugged into any HTTP server and is responsible for routing requests and handling responses.
7+
This package represents the core of [serve](https://github.com/vercel/serve). It can be plugged into any HTTP server and is responsible for routing requests and handling responses.
98

109
In order to customize the default behaviour, you can also pass custom routing rules, provide your own methods for interacting with the file system and much more.
1110

@@ -23,7 +22,7 @@ You can also use [npm](https://www.npmjs.com/) instead, if you'd like:
2322
npm install serve-handler
2423
```
2524

26-
Next, add it to your HTTP server. Here's an example using [micro](https://github.com/zeit/micro):
25+
Next, add it to your HTTP server. Here's an example using [micro](https://github.com/vercel/micro):
2726

2827
```js
2928
const handler = require('serve-handler');
@@ -313,23 +312,9 @@ await handler(request, response, undefined, {
313312

314313
**NOTE:** It's important that – for native methods like `createReadStream` – all arguments are passed on to the native call.
315314

316-
## Use Cases
317-
318-
There are two environments in which [ZEIT](https://zeit.co) uses this package:
319-
320-
### Production
321-
322-
When deploying your static project to [Now](https://zeit.co/now), you can add any of the [configuration options](https://github.com/zeit/serve-handler#options) to the `static` property within `now.json` and they will be considered when handling requests to your deployment.
323-
324-
### Development
325-
326-
When testing your project on your local device, we suggest using [serve](https://github.com/zeit/serve).
327-
328-
Since it comes with support for `serve-handler` out of the box, you can create a `serve.json` file to customize its behavior. It will also read the configuration from `static` inside `now.json`.
329-
330315
## Author
331316

332-
Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [ZEIT](https://zeit.co)
317+
Leo Lamprecht ([@notquiteleo](https://twitter.com/notquiteleo)) - [Vercel](https://vercel.com)
333318

334319

335320
[etag]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag

0 commit comments

Comments
 (0)