Skip to content

Instantly share code, notes, and snippets.

@narennaik
Created June 28, 2021 18:08
Show Gist options
  • Save narennaik/f0d8dc2c4f40d9665107276ed7bbb613 to your computer and use it in GitHub Desktop.
Save narennaik/f0d8dc2c4f40d9665107276ed7bbb613 to your computer and use it in GitHub Desktop.
get url list
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