|
|
@ -22,7 +22,7 @@ app.set('tmpcodepath', 'M:/c'); |
|
|
|
app.set('releasepath', 'M:/r'); |
|
|
|
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({limit: '10mb'})); |
|
|
|
app.use(express.urlencoded()); |
|
|
|
app.use(express.urlencoded()); |
|
|
|
app.use(express.methodOverride()); |
|
|
|
app.use(express.methodOverride()); |
|
|
|
app.use(app.router); |
|
|
|
app.use(app.router); |
|
|
|