You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://spectrum.chat/zeit)
10
9
11
10
Assuming you would like to serve a static site, single page application or just a static file (no matter if on your device or on the local network), this package is just the right choice for you.
12
11
@@ -48,19 +47,19 @@ Now you understand how the package works! :tada:
48
47
49
48
## Configuration
50
49
51
-
To customize `serve`'s behavior, create a `serve.json` file in the public folder and insert any of [these properties](https://github.com/zeit/serve-handler#options).
50
+
To customize `serve`'s behavior, create a `serve.json` file in the public folder and insert any of [these properties](https://github.com/vercel/serve-handler#options).
52
51
53
52
## API
54
53
55
-
The core of `serve` is [serve-handler](https://github.com/zeit/serve-handler), which can be used as middleware in existing HTTP servers:
54
+
The core of `serve` is [serve-handler](https://github.com/vercel/serve-handler), which can be used as middleware in existing HTTP servers:
// You pass two more arguments for config and middleware
63
-
// More details here: https://github.com/zeit/serve-handler#options
62
+
// More details here: https://github.com/vercel/serve-handler#options
64
63
returnhandler(request, response);
65
64
})
66
65
@@ -69,15 +68,15 @@ server.listen(3000, () => {
69
68
});
70
69
```
71
70
72
-
**NOTE:** You can also replace `http.createServer` with [micro](https://github.com/zeit/micro), if you want.
71
+
**NOTE:** You can also replace `http.createServer` with [micro](https://github.com/vercel/micro), if you want.
73
72
74
73
## Contributing
75
74
76
75
1.[Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device
3. Link it to the global module directory: `npm link`
79
78
80
-
After that, you can use the `serve` command everywhere. [Here](https://github.com/zeit/serve/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+for+beginners%22)'s a list of issues that are great for beginners.
79
+
After that, you can use the `serve` command everywhere. [Here](https://github.com/vercel/serve/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+for+beginners%22)'s a list of issues that are great for beginners.
0 commit comments