Fixed mistaken git ref
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
import FeatureList from './splash/FeatureList.svelte';
|
import FeatureList from './splash/FeatureList.svelte';
|
||||||
import { env } from '$env/dynamic/public';
|
import { env } from '$env/dynamic/public';
|
||||||
|
|
||||||
const buildDate = env.PUBLIC_BUILD_DATE || '2025-01-01';
|
const buildDate = env.PUBLIC_BUILD_DATE;
|
||||||
const vcsRef = env.PUBLIC_VCS_REF ? env.PUBLIC_VCS_REF.substring(0, 7) : 'abcdef';
|
const gitRef = env.PUBLIC_GIT_REF ? env.PUBLIC_GIT_REF.substring(0, 7) : '';
|
||||||
|
|
||||||
|
|
||||||
function startWizard() {
|
function startWizard() {
|
||||||
@@ -63,9 +63,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<footer class="mt-4 text-center">
|
<footer class="mt-4 text-center">
|
||||||
{#if buildDate && vcsRef}
|
{#if buildDate && gitRef}
|
||||||
<p class="text-xs text-gray-400">
|
<p class="text-xs text-gray-400">
|
||||||
Build: {vcsRef} {buildDate}
|
Build: {gitRef} {buildDate}
|
||||||
</p>
|
</p>
|
||||||
{/if}
|
{/if}
|
||||||
</footer>
|
</footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user