Right now the production config has rideboard.app hard coded as the link domain for emails. This means confirmation and password reset email links don't work properly in review apps because they redirect to the production app. We should update the config to detect when it is in a review app environment, and use the review app host instead.
Right now the production config has
rideboard.app
hard coded as the link domain for emails. This means confirmation and password reset email links don't work properly in review apps because they redirect to the production app. We should update the config to detect when it is in a review app environment, and use the review app host instead.The solutions may want to use app.json environments to detect a review app, and injected environment variables to reconstruct the hostname.