Rails - SendGrid - invalid response error
エラー内容
Signup有効化の為に受信したメールのActivateリンクをクリックすると
This page isn’t working u13692736.ct.sendgrid.net sent an invalid response. ERR_INVALID_REDIRECT
が表示されて、有効化されない。
解決方法
config/environments/production.rb
Rails.application.configure do . . host = '<your heroku app>.herokuapp.com' . . end
<your heroku app>
を該当のアプリケーション名に変更する。
参考にしたサイト
https://stackoverflow.com/questions/46751079/rails-sendgrid-invalid-response-error