Skip to content

Commit

Permalink
chore: replace koa-static-with-post with koa-static, user should hand…
Browse files Browse the repository at this point in the history
…le post with dora-plugin-proxy
  • Loading branch information
sorrycc committed Dec 28, 2015
1 parent 9709b69 commit a47f850
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"is-plain-object": "~2.0.1",
"koa": "~1.1.2",
"koa-serve-index": "~1.1.1",
"koa-static-with-post": "~1.5.2",
"koa-static": "^1.5.2",
"loader-utils": "~0.2.11",
"object-assign": "~4.0.1",
"resolve": "~1.1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/static.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

export default {
middleware() {
return require('koa-static-with-post')(this.cwd);
return require('koa-static')(this.cwd);
},
};

0 comments on commit a47f850

Please sign in to comment.