punchcard-cms/punchcard

View on GitHub
lib/content/middleware/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function url has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const url = (req, res, next) => {
  const request = req;
  const err = {
    message: '',
    safe: `/${config.content.base}`,
Severity: Minor
Found in lib/content/middleware/index.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status