When PUBLIC_CHECK_VERSION_ON_GITHUB is not set, an uncaught exception occurs in src\lib\helpers\env.ts. That prevents the dashboard from displaying at all.
Uncaught SyntaxError SyntaxError: "undefined" is not valid JSON
at envBool (d:\projects\alloctrl\src\lib\helpers\env.ts:3:24)
at select_block_type (d:\projects\alloctrl\src\routes+page.svelte:17:8)
at create_fragment (localhost꞉5173/src/routes/+page.svelte:142:29)
It could make sense to do something like this to prevent this scenario:
return Boolean( JSON.parse( value ?? false ));
When PUBLIC_CHECK_VERSION_ON_GITHUB is not set, an uncaught exception occurs in src\lib\helpers\env.ts. That prevents the dashboard from displaying at all.
It could make sense to do something like this to prevent this scenario:
return Boolean( JSON.parse( value ?? false ));