You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
When using webpack to generate assets server side, e.g. PDF, the dev_server.host is not set. Is there a reason why the host calculation below is not inside the dev_server.enabled check?
host = ::Rails.configuration.webpack.dev_server.host
host = instance_eval(&host) if host.respond_to?(:call)
if ::Rails.configuration.webpack.dev_server.enabled
paths.map! do |p|
"#{protocol}://#{host}:#{port}#{p}"
end
end
paths