Skip to content

Commit 8968e12

Browse files
Merge pull request #32 from LelabsTeam/bump-image-optimization
bump image optimization
2 parents 2ed9a84 + 1b87c54 commit 8968e12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/components/Events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ declare global {
3232
}
3333
const ENABLE_IMAGE_OPTIMIZATION =
3434
Deno.env.get("ENABLE_IMAGE_OPTIMIZATION") !== "false";
35-
const ENABLE_AZION_ASSETS = Deno.env.get("ENABLE_AZION_ASSETS") === "true";
35+
const ENABLE_AZION_ASSETS = Deno.env.get("ENABLE_AZION_ASSETS") !== "false";
3636
/**
3737
* This function handles all ecommerce analytics events.
3838
* Add another ecommerce analytics modules here.

website/components/Image.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const isAzionAssetsEnabled = () =>
4343
IS_BROWSER
4444
// deno-lint-ignore no-explicit-any
4545
? (globalThis as any).DECO?.featureFlags?.azionAssets
46-
: Deno.env.get("ENABLE_AZION_ASSETS") === "true";
46+
: Deno.env.get("ENABLE_AZION_ASSETS") !== "false";
4747

4848
const canShowWarning = () =>
4949
IS_BROWSER ? false : !Deno.env.get("DENO_DEPLOYMENT_ID");

0 commit comments

Comments
 (0)