Last active
June 28, 2021 18:26
-
-
Save narennaik/6c7978f4836e827b5ec752ef4fb25eb8 to your computer and use it in GitHub Desktop.
With Comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Construct URL list | |
// Adding https protocol since the backend service doesn't accept http | |
// TODO: (temporary) Adding callback=true because server side redirection needs this parameter | |
const urlList = domainList.map((item) => { | |
const domain = item.details.name; | |
const httpsUrl = `https://${domain}?callback=true`; | |
return httpsUrl; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment