Email verification redirectTo URL

Ready to post? :magnifying_glass_tilted_right: First try searching for your answer. Hello,

I have an application whit DEV and localhost environment in the same tenant. I need to redirect user when verify email to the each base URL.

Im using actually
{% if application.callback_domain == 'localhost' %}https://localhost:3001{% else %}{{ application.callback_domain }}{% endif %}

But always this condition falls in else statement.Any suggestion?