1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-core/lib
Amy Grace fda46ad4f7
Move SSL instance variables into new preview server subclass (#2536)
When the preview server was refactored in e1b0de9, these SSL-related
variables were left in the original `PreviewServer` -- where the new
`PreviewServer::Webrick` didn't know about them -- causing HTTPS preview
servers to suffer a fatal `NameError` ("undefined local variable or
method 'ssl_certificate'") during `Webrick#setup_webrick`.

This commit changes `Webrick.new` to accept an `ssl_information` hash
containing the necessary instance variables from the `PreviewServer`.
2022-02-16 09:05:52 -08:00
..
middleman Update rubocop + use enable-frozen-string-literal (#2354) 2020-08-16 12:08:50 -07:00
middleman-core Move SSL instance variables into new preview server subclass (#2536) 2022-02-16 09:05:52 -08:00
middleman-core.rb Update rubocop + use enable-frozen-string-literal (#2354) 2020-08-16 12:08:50 -07:00