parent
15850f0dbb
commit
61e0a100c0
|
@ -43,6 +43,9 @@ LND_CONNECT_ADDRESS=03cc1d0932bb99b0697f5b5e5961b83ab7fd66f1efc4c9f5c7bad66c1bcb
|
||||||
NEXTAUTH_SECRET=3_0W_PhDRZVanbeJsZZGIEljexkKoGbL6qGIqSwTjjI
|
NEXTAUTH_SECRET=3_0W_PhDRZVanbeJsZZGIEljexkKoGbL6qGIqSwTjjI
|
||||||
JWT_SIGNING_PRIVATE_KEY={"kty":"oct","kid":"FvD__hmeKoKHu2fKjUrWbRKfhjimIM4IKshyrJG4KSM","alg":"HS512","k":"3_0W_PhDRZVanbeJsZZGIEljexkKoGbL6qGIqSwTjjI"}
|
JWT_SIGNING_PRIVATE_KEY={"kty":"oct","kid":"FvD__hmeKoKHu2fKjUrWbRKfhjimIM4IKshyrJG4KSM","alg":"HS512","k":"3_0W_PhDRZVanbeJsZZGIEljexkKoGbL6qGIqSwTjjI"}
|
||||||
|
|
||||||
|
# git version
|
||||||
|
NEXT_PUBLIC_COMMIT_HASH=0de1343
|
||||||
|
|
||||||
# prisma db url
|
# prisma db url
|
||||||
DATABASE_URL="postgresql://sn:password@db:5432/stackernews?schema=public"
|
DATABASE_URL="postgresql://sn:password@db:5432/stackernews?schema=public"
|
||||||
|
|
||||||
|
|
|
@ -207,6 +207,8 @@ export default function Footer ({ noLinks }) {
|
||||||
const DarkModeIcon = darkMode.value ? Sun : Moon
|
const DarkModeIcon = darkMode.value ? Sun : Moon
|
||||||
const LnIcon = lightning === 'yes' ? No : Bolt
|
const LnIcon = lightning === 'yes' ? No : Bolt
|
||||||
|
|
||||||
|
const version = process.env.NEXT_PUBLIC_COMMIT_HASH
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<footer>
|
<footer>
|
||||||
<Container className='mb-3 mt-4'>
|
<Container className='mb-3 mt-4'>
|
||||||
|
@ -318,6 +320,7 @@ export default function Footer ({ noLinks }) {
|
||||||
</Link>
|
</Link>
|
||||||
</span>
|
</span>
|
||||||
</small>
|
</small>
|
||||||
|
<div className="version">version <a href={`https://github.com/stackernews/stacker.news/commit/${version}`}>{version}</a></div>
|
||||||
</Container>
|
</Container>
|
||||||
</footer>
|
</footer>
|
||||||
)
|
)
|
||||||
|
|
|
@ -630,4 +630,10 @@ div[contenteditable]:focus,
|
||||||
.popover-header {
|
.popover-header {
|
||||||
color: #212529;
|
color: #212529;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.version {
|
||||||
|
margin: auto;
|
||||||
|
font-size: x-small;
|
||||||
|
color: var(--theme-grey) !important;
|
||||||
}
|
}
|
Loading…
Reference in New Issue