不建议使用的包
-
koa-redis包
- 最好直接用redis包
-
koa-jwt 包
- 最好直接用jsonwebtoken包
-
koa-jsonp包
- 如果非要用,就用koa-safe-jsonp,但这个基本不需要
-
koa-static包
- 最好换成koa-static-server
- 因为可以指定静态文件路径
- 用
/static/index.html访问 - 而不是
/index.html访问
- 用
- 因为可以指定静态文件路径
- 最好换成koa-static-server
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
koa-redis包
koa-jwt 包
koa-jsonp包
koa-static包
/static/index.html访问/index.html访问