Closed tagliala closed 6 months ago
Why can't you use just check protocol
? it's been there since v3 (seems like it could even be further back too).
Overall, I don't think it make sense to reintroduce this helper given how small it is and that the previous logic was deprecated upstream
it's been there since v3
Thanks, I didn't check if it was available on legacy versions
Desired behavior:
Allow
Shakapacker::DevServer
respond tohttps?
predicate again, by checking ifprotcol == 'https'
. This will also allow a tiny refactor:https://github.com/shakacode/shakapacker/blob/295795e0ce28efdd02be21464508c9674e336cfa/lib/shakapacker/dev_server.rb#L53
If you are interested in reintroducing this predicate, I can submit a PR.
Use case: jamesmartin/inline_svg#158
Actual behavior:
DevServer does not respond to
https?
predicate anymoreSetup environment: