purelog-router-redirect

实现博客的401功能,适用于博客搬家后改地址

npm install purelog-router-redirect
4 downloads in the last month

purelog-router-redicrect

实现博客的301功能,适用于博客搬家后改地址

配置

routes: [ {path: /\/(\d+)\//i, to: "/archives/$1.html"} ]

npm loves you