I'm using this code right now to open an external link from a generated URLs:
External link in react is being appended with localhost if no http or https present
<a href={url} target={'_blank'} rel="noopener noreferrer external">
{url}
</a>
It's working fine if there's an http or https present inside the url but if there's none then it will be redirected to http://localhost:3000/${url}.
Is there a way to ignore this setting in React(Create React App)