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.
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
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.