Skip to content

Commit

Permalink
Fixes #35467 - Use rackup_path helper in registration
Browse files Browse the repository at this point in the history
Since 88fbc8e there is a rackup_path
helper that's equivalent to calling http_rackup_path and
https_rackup_path with the same arguments.
  • Loading branch information
ekohl committed Aug 31, 2022
1 parent 6b0b909 commit bb7bffb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/registration/registration_plugin.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module Proxy::Registration
class Plugin < ::Proxy::Plugin
http_rackup_path File.expand_path("http_config.ru", File.expand_path(__dir__))
https_rackup_path File.expand_path("http_config.ru", File.expand_path(__dir__))
rackup_path File.expand_path("http_config.ru", File.expand_path(__dir__))

plugin :registration, ::Proxy::VERSION
requires :templates, ::Proxy::VERSION
Expand Down

0 comments on commit bb7bffb

Please sign in to comment.