feat: ssr comments if env var is enabled
This commit is contained in:
1 parent
c030196c35
commit
2c4132d899
2 files changed
+19
-12
No files matched your search
@@ -5,6 +5,8 @@ import { env } from '$env/dynamic/public'
|
||||
console.log('Using the following default settings from the environment:')
|
||||
console.log(env)
|
||||
|
||||
export const SSR_ENABLED = env.PUBLIC_SSR_ENABLED.toLowerCase() == 'true'
|
||||
|
||||
// Returns a proper boolean or null. Used to set boolean values from env var strings while allowing nullish coalescing to set default values.
|
||||
const toBool = (str: string | undefined) => {
|
||||
if (!str) {
|
||||
|
||||
Reference in new issue
Block a user