Force use https for generate route
This commit is contained in:
parent
4a336b8af7
commit
e9d4685aef
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
Rails.application.routes.draw do
|
||||
default_url_options protocol: :https
|
||||
|
||||
get "/ping" => "ping#index", :constraints => {:ip => /127.0.0.1/}
|
||||
|
||||
|
|
Loading…
Reference in a new issue