Is there any way to setup redirects without committing a dedicated file to the repository?
I feel like I should keep the app agnostic from its deployment, thus all required information (like api endpoints and such) are injected via env-variables.
What I would like to achieve is to simply redirect from the netlify sub-domain to my main-domain. Even with a netlify.toml this is kinda tricky - at least if you’d like to inject the “from-” and “to-urls” via env-vars and not hardcode them into the file.
Wouldn’t it be sensible to additionally provide an input mask (textarea) in the netlify ui to specify things like redirects? Am I missing something?
Thanks for clarifying