SpontaneousCMS/spontaneous

View on GitHub
lib/spontaneous/rack/front.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method application has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def self.application(site = ::Spontaneous.instance)
        ::Rack::Builder.new do
          use Scope::Front, site
          use Spontaneous::Rack::Static, root: Spontaneous.revision_dir / 'public', urls: %w[/], try: ['.html', 'index.html', '/index.html']

Severity: Minor
Found in lib/spontaneous/rack/front.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status