【文件属性】:
文件名称:forcessl:Dylan的中间件,可将http请求重定向到https
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-14 06:28:37
JavaScript
强制SSL
Dylan的中间件,可将http请求重定向到https。
安装
npm install @dylanjs/forcessl
用法
const forcessl = require ( '@dylanjs/forcessl' ) ;
app . use ( forcessl ( ) ) ;
http://foo.com重定向到https://foo.com 。
【文件预览】:
forcessl-master
----LICENSE(1KB)
----README.md(258B)
----.gitignore(23B)
----index.js(187B)
----package.json(304B)