Skip to content

Commit 28c4f9c

Browse files
committed
revert changes to lib/jekyll/commands/serve.rb
1 parent e1af381 commit 28c4f9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/jekyll/commands/serve.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ def start_up_webrick(opts, destination)
66
server = WEBrick::HTTPServer.new(webrick_opts(opts)).tap { |o| o.unmount("") }
77
server.mount(opts["baseurl"], Servlet, destination, file_handler_opts)
88

9-
jekyll_admin_start_up_monkey_patch(server)
9+
jekyll_admin_monkey_patch(server)
1010

1111
Jekyll.logger.info "Server address:", server_address(server, opts)
1212
launch_browser server, opts if opts["open_url"]
1313
boot_or_detach server, opts
1414
end
1515

16-
def jekyll_admin_start_up_monkey_patch(server)
16+
def jekyll_admin_monkey_patch(server)
1717
server.mount "/admin", Rack::Handler::WEBrick, JekyllAdmin::StaticServer
1818
server.mount "/_api", Rack::Handler::WEBrick, JekyllAdmin::Server
1919
Jekyll.logger.info "JekyllAdmin mode:", ENV["RACK_ENV"] || "production"

0 commit comments

Comments
 (0)