Skip to content
Myr

Utilizing __dirname

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 2a4cbb1 · Browse files · 4 files+10 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+10 added−10 removed

  • other:+10 added−10 removed

4 files+10 added−10 removed

modified:examples/chat/app.js+2 added-2 removed
modified:examples/upload/app.js+2 added-2 removed
modified:lib/express.js+4 added-4 removed
modified:Readme.md+2 added-2 removed
55 unmodified lines
56 57 configure(function(){58 use(MethodOverride)59 use(ContentLength)60 set('root', dirname(__filename))60 set('root', __dirname)61 })62 63 get('/hello', function(){64 this.contentType('html')
37 unmodified lines
102 $ node spec/node.js routing103 ...104 105Express is currently being developed with node --version:106 v0.1.24-13-ge2abc5f106 v0.1.27107 108## More Information109110 * [JavaScript Extensions & Utilities](http://github.com/visionmedia/ext.js)
34 unmodified lines