18F/federalist

View on GitHub
api/init/index.js

Summary

Maintainability
A
0 mins
Test Coverage
A
96%

Function init has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

function init(app) {
  // When deployed we are behind a proxy, but we want to be
  // able to access the requesting user's IP in req.ip, so
  // 'trust proxy' must be enabled.
  app.enable('trust proxy');
Severity: Minor
Found in api/init/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status