Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 1009 Bytes

File metadata and controls

12 lines (9 loc) · 1009 Bytes

@salsita/koa-force-ssl

NPM version Downloads Licence Dependency Status devDependency Status

Middleware and server used to redirect user to secure connection on production. Used by @salsita/koa-server.

Middleware function expects allowUnsecure parameter which can disable redirecting if request is not send over SSL connection.