advence-liz/json-server-router

> > 问题解决了, rewrite 功能也加好了,详见 https://github.com/advence-liz/json-server-router#add-coustom-routes-rewrite

lldacing opened this issue · 0 comments

问题解决了, rewrite 功能也加好了,详见 https://github.com/advence-liz/json-server-router#add-coustom-routes-rewrite

image

一直忙没空验证,最近有需要用了,今天试了下还是不行,感觉没生效,直接运行你工程里你的例子也不行,不知道怎么回事

找到原因了,cli/server.js里面new JsonServerRouter时没传routes,改时顺便把映射也在页面上也展示下吧

Originally posted by @lldacing in #8 (comment)