|
|
@ -20,9 +20,9 @@ var app = express(); |
|
|
|
app.set('port', process.env.PORT || 3000); |
|
|
|
app.set('port', process.env.PORT || 3000); |
|
|
|
app.set('views', path.join(__dirname, 'views')); |
|
|
|
app.set('views', path.join(__dirname, 'views')); |
|
|
|
app.set('view engine', 'jade'); |
|
|
|
app.set('view engine', 'jade'); |
|
|
|
app.set('gitpath', 'D:/data/mbs/git'); |
|
|
|
app.set('gitpath', 'M:/g'); |
|
|
|
app.set('tmpcodepath', 'D:/data/mbs/code'); |
|
|
|
app.set('tmpcodepath', 'M:/c'); |
|
|
|
app.set('releasepath', 'D:/data/mbs/release'); |
|
|
|
app.set('releasepath', 'M:/r'); |
|
|
|
app.use(express.favicon()); |
|
|
|
app.use(express.favicon()); |
|
|
|
app.use(express.logger('dev')); |
|
|
|
app.use(express.logger('dev')); |
|
|
|
app.use(express.json()); |
|
|
|
app.use(express.json()); |
|
|
|