diff options
| -rw-r--r-- | .env.development | 1 | ||||
| -rw-r--r-- | .env.production | 1 | ||||
| -rw-r--r-- | src/pages/index.tsx | 3 |
3 files changed, 2 insertions, 3 deletions
diff --git a/.env.development b/.env.development deleted file mode 100644 index 6ef3730..0000000 --- a/.env.development +++ /dev/null @@ -1 +0,0 @@ -GATSBY_TIMESTAMP=1619067584
\ No newline at end of file diff --git a/.env.production b/.env.production deleted file mode 100644 index 6ef3730..0000000 --- a/.env.production +++ /dev/null @@ -1 +0,0 @@ -GATSBY_TIMESTAMP=1619067584
\ No newline at end of file diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 884f829..30adaf8 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -4,6 +4,7 @@ import { StaticImage } from "gatsby-plugin-image"; import SEO from "../components/SEO"; import "../styles/main.css"; +const TIMESTAMP = "1619067584"; const SHORT_CHARS = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; function toShort (valu: number): string { @@ -140,7 +141,7 @@ const IndexPage = () => { </div> </div> - <div id="meta"><span>©2021 kjhoerr@//submelon.tech/:{getTimestamp(parseInt(process.env.GATSBY_TIMESTAMP))}</span></div> + <div id="meta"><span>©2021 kjhoerr@//submelon.tech/:{getTimestamp(parseInt(TIMESTAMP))}</span></div> </StyledContainer> </main> ); |
