Interactive interface for browsing global, full-resolution satellite imagery
add dist task replace of brand URL
Ed Platod6d55648e4f5
diff --git a/config/default/common/brand.json b/config/default/common/brand.jsonindex 3bc7e5533..17fc88d6b 100644--- a/config/default/common/brand.json+++ b/config/default/common/brand.json@@ -4,6 +4,6 @@"longName": "EOSDIS Worldview","shortName": "Worldview","description": "Interactive satellite viewer",- "url": "https://earthdata.nasa.gov/worldview",+ "url": "https://worldview.earthdata.nasa.gov/","email": "[email protected]"}diff --git a/tasks/dist.js b/tasks/dist.jsindex cb4856964..15b695472 100755--- a/tasks/dist.js+++ b/tasks/dist.js@@ -42,8 +42,10 @@ const officialName = brand.officialName || brand.name;const longName = brand.longName || brand.name;const shortName = brand.shortName || brand.name;const email = brand.email || '[email protected]';+const url = brand.url || 'https://worldview.earthdata.nasa.gov/';shell.sed('-i', /@OFFICIAL_NAME@/g, officialName, applyTo);+shell.sed('-i', /@URL@/g, url, applyTo);shell.sed('-i', /@LONG_NAME@/g, longName, applyTo);shell.sed('-i', /@NAME@/g, shortName, applyTo);shell.sed('-i', /@MAIL@/g, email, applyTo);diff --git a/web/index.html b/web/index.htmlindex 86a8ee414..3aed62e17 100644--- a/web/index.html+++ b/web/index.html@@ -40,10 +40,10 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (https://opensource.g<!-- open graph for social sharing --><meta property="og:title" content="Worldview: Explore Your Dynamic Planet"><meta property="og:site_name" content="Worldview">- <meta property="og:url" content="https://worldview.earthdata.nasa.gov/">+ <meta property="og:url" content="@URL@"><meta property="og:description" content="The NASA Worldview app provides a satellite's perspective of the planet as it looks today and as it has in the past through daily satellite images. Worldview is part of NASA’s Earth Observing System Data and Information System. EOSDIS makes the agency's large repository of data accessible and freely available to the public."><meta property="og:type" content="website">- <meta property="og:image" content="images/preview.jpg">+ <meta property="og:image" content="@URL@images/preview.jpg"><!-- twitter card optimization --><meta name="twitter:card" content="summary">