Interactive interface for browsing global, full-resolution satellite imagery
prevent localhost gtm init in index.html, change about date to js
Ed Platod0e4bd6992a9
diff --git a/web/index.html b/web/index.htmlindex 438dde53a..4c10acf69 100644--- a/web/index.html+++ b/web/index.html@@ -10,8 +10,10 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (https://opensource.g--><html lang="en" prefix="og: https://ogp.me/ns#"><head>- <!-- Google Tag Manager -->- <script async>(function (w, d, s, l, i) {+ <!-- Google Tag Manager -->+ <script async>+ if (!/localhost/.test(window.location.href) && '@GTM_ID@') {+ (function (w, d, s, l, i) {w[l] = w[l] || []; w[l].push({'gtm.start':new Date().getTime(), event: 'gtm.js'@@ -20,10 +22,9 @@ Licensed under the NASA Open Source Agreement, Version 1.3 (https://opensource.g'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);})(window, document, 'script', 'dataLayer', '@GTM_ID@');- if ('@GTM_ID@') {- window.dataLayer = window.dataLayer || [];- }- </script>+ window.dataLayer = window.dataLayer || [];+ }+ </script><!-- End Google Tag Manager --><title>@OFFICIAL_NAME@</title><meta http-equiv="X-UA-Compatible" content="IE=edge">diff --git a/web/js/components/about/about-page.js b/web/js/components/about/about-page.jsindex 0e47a7413..bf141b61c 100644--- a/web/js/components/about/about-page.js+++ b/web/js/components/about/about-page.js@@ -297,7 +297,11 @@ export default function AboutPage() {<hr /><h2>License</h2><p>- Copyright © 2013 - 2021 United States Government as represented by the Administrator of the National Aeronautics and+ Copyright © 2013 -+ {' '}+ {new Date().getFullYear()}+ {' '}+ United States Government as represented by the Administrator of the National Aeronautics andSpace Administration. All Rights Reserved. This software is licensed under the{' '}<a href="https://ti.arc.nasa.gov/opensource/nosa/" target="_blank" rel="noopener noreferrer">NASA Open Source Software Agreement, Version 1.3</a>