fix register page env variable loading
All checks were successful
delpoy / build-and-deploy (push) Successful in 42s

This commit is contained in:
bytedream 2023-11-05 18:35:55 +01:00
parent 73506fd81d
commit c7a17d4481

View File

@ -1,10 +1,10 @@
<script>
import { PUBLIC_BASE_PATH } from '$env/static/public';
import { env } from '$env/dynamic/public';
</script>
<img
class="fixed top-0 left-0 h-full w-full object-cover pointer-events-none blur-[2px]"
src="{PUBLIC_BASE_PATH}/img/register-background.webp"
src="{env.PUBLIC_BASE_PATH}/img/register-background.webp"
alt=""
/>
<div class="fixed top-0 left-0 h-full w-full bg-[radial-gradient(rgba(0,0,0,0),rgba(0,0,0,.4))]" />