load environment variables at runtime instead on build
Some checks failed
delpoy / build-and-deploy (push) Failing after 16s
Some checks failed
delpoy / build-and-deploy (push) Failing after 16s
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { IconSolid } from 'svelte-heros-v2';
|
||||
import { createEventDispatcher } from 'svelte';
|
||||
import { PUBLIC_START_DATE } from '$env/static/public';
|
||||
import { env } from '$env/dynamic/public';
|
||||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
</div>
|
||||
<p>
|
||||
<b>Du hast dich erfolgreich für Craftattack 6 registriert</b>. Spielstart ist am {new Date(
|
||||
PUBLIC_START_DATE
|
||||
).toLocaleString('de-DE', startDayOptions)} um {new Date(PUBLIC_START_DATE).toLocaleString(
|
||||
env.PUBLIC_START_DATE
|
||||
).toLocaleString('de-DE', startDayOptions)} um {new Date(env.PUBLIC_START_DATE).toLocaleString(
|
||||
'de-DE',
|
||||
startTimeOptions
|
||||
)} Uhr.
|
||||
|
Reference in New Issue
Block a user