From 3dedcbf8946c81b233d55d042ea2f85353514535 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Mon, 20 Oct 2014 21:23:00 -0700 Subject: [PATCH] Sort webrick_options --- lib/jekyll/commands/serve.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/jekyll/commands/serve.rb b/lib/jekyll/commands/serve.rb index fc18634c..51664a2b 100644 --- a/lib/jekyll/commands/serve.rb +++ b/lib/jekyll/commands/serve.rb @@ -75,13 +75,13 @@ module Jekyll def webrick_options(config) opts = { - :DocumentRoot => config['destination'], - :Port => config['port'], :BindAddress => config['host'], - :MimeTypes => mime_types, + :DirectoryIndex => %w(index.html index.htm index.cgi index.rhtml index.xml), + :DocumentRoot => config['destination'], :DoNotReverseLookup => true, - :StartCallback => start_callback(config['detach']), - :DirectoryIndex => %w(index.html index.htm index.cgi index.rhtml index.xml) + :MimeTypes => mime_types, + :Port => config['port'], + :StartCallback => start_callback(config['detach']) } if !config['verbose']