lib/spontaneous/rack/front.rb
Method application
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
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']