10 Commits

Author SHA1 Message Date
dongyu
50bcadf73e migrate to koa@2 (#108)
* support async/await

* change nodejs version 4 or 6 to 5.6

* eslint

* remove jade
2017-05-30 20:44:57 +08:00
bananaappletw
954d0c7eea Fix no-path-concat 2016-10-20 13:55:20 +08:00
bananaappletw
2f205052ed Fix space-before-blocks 2016-10-20 13:12:07 +08:00
bananaappletw
79017347de Fix no-cond-assign 2016-10-20 12:29:45 +08:00
bananaappletw
bd6f3fd782 Unify examples to same format 2016-09-29 07:11:50 +08:00
Stefan
51b25ff271 Updated upload example, normalized stream path
os.tmpdir() returns a path without a trailing slash at the end, so the following line constructs an invalid path to a temporary directory
2014-09-24 17:00:25 +03:00
Deniz Ozger
245afad07b using os.tmpdir() instead of tmp/ 2014-09-15 16:23:23 +01:00
Deniz Ozger
fa83da77ef In file upload example, changed /tmp/ to tmp/
"tmp/" creates the file relative to index.js, which I believe prevents confusions just like the one here: http://stackoverflow.com/questions/25307888/file-upload-in-koajs
2014-09-12 17:02:20 +01:00
TJ Holowaychuk
8f11c258ec fix upload example 2013-12-08 11:00:45 -08:00
TJ Holowaychuk
f3c4fbd7d2 copy over blog/templates/upload examples 2013-12-08 10:52:46 -08:00