【koa2】用中间件koa-static-router 搭建静态资源服务器,实现多级路由加载静态资源

2021-02-03
阅读 2 分钟
2.3k
选择多个路由时,请确保路由长度相同 '/static/' - >路由长度 = 1 '/static/image1/' - >路由长度 =2
封面图