Commit graph

5 commits

Author SHA1 Message Date
Anton Egorov
2d7ba7f489 Remove error handling from custom-server-koa's server example (#3982)
Koa's `listeningListener` callback is invoked with no arguments according to the Koa's type definitions, hence error handling is extraneous.
2018-03-10 12:22:40 +01:00
Brikou CARRE
ba65b07dff Ease running multiple examples at the same time with process.env.PORT (#2753) 2017-08-10 20:15:46 +02:00
Arana Jhonny
68d48cb004 Update Koa example for Koa 2 with async/await (#1317) 2017-02-28 21:49:58 +01:00
Arunoda Susiripala
2efabde215 Fix koa-404 issue by adding res.statusCode to 200 (#815) 2017-01-18 00:45:29 -03:00
Dan Zajdband
2c2d961844 Added Koa example (#800)
* Added Koa example

* Linted koa example
2017-01-17 08:23:06 +01:00