File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ module.exports = function(args, callback) {
8181 compiler . plugin ( "invalid" , invalidPlugin ) ;
8282
8383 app . use ( require ( './middleware' ) ( compiler , args . publicPath ) ) ;
84- app . use ( require ( 'koa-static' ) ( join ( __dirname , 'public' ) ) ) ;
85- app . use ( require ( 'koa-static' ) ( args . cwd ) ) ;
84+ app . use ( require ( 'koa-static-with-post ' ) ( join ( __dirname , 'public' ) ) ) ;
85+ app . use ( require ( 'koa-static-with-post ' ) ( args . cwd ) ) ;
8686 app . use ( require ( 'koa-serve-index' ) ( args . cwd , {
8787 hidden : true ,
8888 view : 'details'
Original file line number Diff line number Diff line change 2727 "istanbul-instrumenter-loader" : " ~0.1.3" ,
2828 "koa" : " ~0.21.0" ,
2929 "koa-serve-index" : " ~1.0.4" ,
30- "koa-static" : " ~1.4.9 " ,
30+ "koa-static-with-post " : " ~1.5.2 " ,
3131 "koa-webpack-dev-middleware" : " ~1.0.0" ,
3232 "mocha-phantomjs" : " ~4.0.1" ,
3333 "mocha-phantomjs-istanbul" : " 0.0.2" ,
You can’t perform that action at this time.
0 commit comments