DemocracyOS/app

View on GitHub
lib/server-factory/ssl-redirect.js

Summary

Maintainability
A
1 hr
Test Coverage

Function sslRedirect has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function sslRedirect (app, options) {
  var secure = options.protocol === 'https'

  if (!secure) return

Severity: Minor
Found in lib/server-factory/ssl-redirect.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status