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