Compare commits
No commits in common. "59a2855a1d9ebd6b47a31e3afd52c9ec5b2bc2d3" and "aa335b086a74536403642baebce7c060360fe1b0" have entirely different histories.
59a2855a1d
...
aa335b086a
3 changed files with 9 additions and 6 deletions
5
app.config.ts
Normal file
5
app.config.ts
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
export default defineAppConfig({
|
||||||
|
title: "Gorb",
|
||||||
|
buildTimeString: new Date().toISOString(),
|
||||||
|
gitHash: process.env.GIT_SHORT_REV || "N/A"
|
||||||
|
})
|
|
@ -27,9 +27,7 @@ export default defineNuxtConfig({
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
public: {
|
public: {
|
||||||
apiVersion: 1,
|
apiVersion: 1,
|
||||||
messageGroupingMaxDifference: 300000,
|
messageGroupingMaxDifference: 300000
|
||||||
buildTimeString: new Date().toISOString(),
|
|
||||||
gitHash: process.env.GIT_SHORT_REV || "N/A",
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/* nitro: {
|
/* nitro: {
|
||||||
|
|
|
@ -24,9 +24,9 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p style="font-size: .8em; color: var(--secondary-text-color)">
|
<p style="font-size: .8em; color: var(--secondary-text-color)">
|
||||||
Version Hash: {{ appConfig.public.gitHash }}
|
Version Hash: {{ appConfig.gitHash }}
|
||||||
<br>
|
<br>
|
||||||
Build Time: {{ appConfig.public.buildTimeString }}
|
Build Time: {{ appConfig.buildTimeString }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -44,7 +44,7 @@ import Button from '~/components/Button.vue';
|
||||||
|
|
||||||
const { logout } = useAuth()
|
const { logout } = useAuth()
|
||||||
|
|
||||||
const appConfig = useRuntimeConfig()
|
const appConfig = useAppConfig()
|
||||||
|
|
||||||
interface Page {
|
interface Page {
|
||||||
displayName: string;
|
displayName: string;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue