Sort webrick_options
This commit is contained in:
parent
2ca2990f6b
commit
3dedcbf894
|
@ -75,13 +75,13 @@ module Jekyll
|
||||||
|
|
||||||
def webrick_options(config)
|
def webrick_options(config)
|
||||||
opts = {
|
opts = {
|
||||||
:DocumentRoot => config['destination'],
|
|
||||||
:Port => config['port'],
|
|
||||||
:BindAddress => config['host'],
|
:BindAddress => config['host'],
|
||||||
:MimeTypes => mime_types,
|
:DirectoryIndex => %w(index.html index.htm index.cgi index.rhtml index.xml),
|
||||||
|
:DocumentRoot => config['destination'],
|
||||||
:DoNotReverseLookup => true,
|
:DoNotReverseLookup => true,
|
||||||
:StartCallback => start_callback(config['detach']),
|
:MimeTypes => mime_types,
|
||||||
:DirectoryIndex => %w(index.html index.htm index.cgi index.rhtml index.xml)
|
:Port => config['port'],
|
||||||
|
:StartCallback => start_callback(config['detach'])
|
||||||
}
|
}
|
||||||
|
|
||||||
if !config['verbose']
|
if !config['verbose']
|
||||||
|
|
Loading…
Reference in New Issue