Install packages
yarn add firebase-admin jsonwebtoken ms nanoid
# or
| https://cdn.discordapp.com/attachments/926866111948001341/1190841182356525056/InfiniteFusion.zip?ex=6686af06&is=66855d86&hm=d517754bbbba753266cf4e58b16285745709603b7bbe3c15ae23e4bdd7d844a1& |
| <script lang="ts"> | |
| import type { PageData } from "./$types"; | |
| export let data: PageData; | |
| const { configuration } = data; | |
| </script> | |
| {#if configuration.displayEnvironment} | |
| <div class="env-details"> |
| import { env } from "$env/dynamic/private"; | |
| import type { LayoutServerLoad } from "./$types"; | |
| export const load: LayoutServerLoad = async () => { | |
| return { | |
| configuration: { | |
| environment: env.ENVIRONMENT, | |
| displayEnvironment: env.DISPLAY_ENVIRONMENT?.toLowerCase() === "true" | |
| } | |
| }; |