Simply NextJS project for redirecting requests to another uri.
Set as environment variable:
TO_URI=https://<uri>.com
or
ALL_TO_URI=https://<uri>.com
http://old.domain.com/<slug*>
-> <TO_URI>/<slug*>
http://old.domain.com/
-> <TO_URI>/
http://old.domain.com/<slug*>
-> <ALL_TO_URI>
http://old.domain.com/
-> <ALL_TO_URI/