Kakise/Kaki-Static

View on GitHub
config/nginx.conf.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function createConfigFile has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function createConfigFile(array) {
    var proxyconf = "";
        array.forEach(prox => {
        proxyconf += `
        location ${prox.fields.origine} {
Severity: Major
Found in config/nginx.conf.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status