没有合适的资源?快使用搜索试试~ 我知道了~
hapi-redirects:重定向hapi插件
共13个文件
js:6个
md:2个
npmrc:1个
需积分: 9 0 下载量 108 浏览量
2021-05-10
03:50:29
上传
评论
收藏 9KB ZIP 举报
温馨提示
重定向 Hapi重定向插件 安装 npm install --save hapi-redirects 用法 server . register ( [ { plugin : require ( 'hapi-redirects' ) , options : { log : true , log404 : true , // can match any valid hapi route specifier including route params and redirect to the specified value: redirects : { "/shortlink" : "/a/much/longer/path?search=longer" , '/post/(.*)/' : '/cats
资源推荐
资源详情
资源评论
收起资源包目录
hapi-redirects-master.zip (13个子文件)
hapi-redirects-master
.gitignore 22B
package.json 767B
.npmrc 19B
.travis.yml 43B
LICENSE 1KB
index.js 123B
CHANGELOG.md 896B
README.md 2KB
example
index.js 2KB
lib
index.js 3KB
paramReplacer.js 778B
processRedirect.js 2KB
test
redirects.test.js 14KB
共 13 条
- 1
资源评论
林John
- 粉丝: 38
- 资源: 4601
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功