We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbeeb8b commit 68500d9Copy full SHA for 68500d9
Quick-start.md
@@ -26,7 +26,7 @@ const http = require("http");
26
// Create routejs app
27
const app = new Router();
28
29
-// Set routes
+// Set http routes
30
app.get("/", function (req, res) {
31
res.end("Ok");
32
});
@@ -36,7 +36,7 @@ app.use(function (req, res) {
36
res.writeHead(404).end("404 Page Not Found");
37
38
39
-// Create node http server
+// Create node http server and register request handler
40
const server = http.createServer(app.handler())
41
42
// Start node http server
0 commit comments