Skip to content
Myr

Fixes path joining in win32 systems

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

authored by Christoph Walcher · committed by Christoph Walcher · parent 07b6c9f · Browse files · 1 file+3 added−2 removed
This commit

State

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

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:bin/express+3 added-2 removed
193 unmodified lines
194 , ' */'195 , ''196 , 'var express = require(\'express\')'197 , ' , routes = require(\'./routes\')'198 , ' , http = require(\'http\');'198 , ' , http = require(\'http\')'199 , ' , path = require(\'path\');'200 , ''201 , 'var app = express();'202 , ''203 , 'app.configure(function(){'
4 unmodified lines
208 , ' app.use(express.logger(\'dev\'));'209 , ' app.use(express.bodyParser());'210 , ' app.use(express.methodOverride());{sess}'211 , ' app.use(app.router);{css}'211 , ' app.use(express.static(__dirname + \'/public\'));'212 , ' app.use(express.static(path.join(__dirname, \'public\')));'213 , '});'214 , ''215 , 'app.configure(\'development\', function(){'216 , ' app.use(express.errorHandler());'
188 unmodified lines