I am a beginner in programming. rails tutorial I will describe my solution when the account cannot be activated in the production environment of Chapter 11.
Ubuntu 18.04 LTS ruby 2.7.1 Rails 6.0.3
Rails tutorial I can't activate my account in the production environment of Chapter 11. I received an email but I can't access the link. Looking at the URL that arrived, ... https://XXXXXXXX-XXXXXXXXXX-XXXXX.herokuapp.com%3E.herokuapp.com/account_activations/LE2XcAU-C4szTXa7Yx4zWA/edit?email=(設定したメールアドレス).com For some reason herokuapp.com is twice. .. Something like% 3E. .. .. (% 3E is> in URL encoding)
Set in production.rb
host = '<https://XXXXXXXX-XXXXXXXXXX-XXXXX.herokuapp.com>.herokuapp.com'
Part of
host = 'https://XXXXXXXX-XXXXXXXXXX-XXXXX.herokuapp.com'
It was solved by.
Recommended Posts