Hi!
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