I’m getting a 500 UnsafeRedirectError
.
However - the redirect URL is to my own domain.
I’m guessing this means I have an error in my config, but can’t figure out what it is.
Error:
ActionController::Redirecting::UnsafeRedirectError: Unsafe redirect to "https://SkydiveDesigner.app/j/robs-tbs?tab=comments", pass allow_other_host: true to redirect anyway.
and in environments/production.rb
Rails.application.routes.default_url_options = {host: 'SkydiveDesigner.app', protocol: 'https' }
config.action_controller.default_url_options = Rails.application.routes.default_url_options
config.action_mailer.default_url_options = Rails.application.routes.default_url_options
what am I missing?
thank you
(Rails 7.0)