I know I am supposed to use res.status(301).redirect(url) but my url format is a bit different. e.g https://link.projectName.com/?link=https://link.projectName.com/LINKNAME?PARAMETER=132323&apn=com.projectName.app
which is a dynamic link but it redirects it with the own api base url and then the redirect url e.g apiurl.com/%%%%/https://link.projectName.co