Skip to content

Commit 4c72a8a

Browse files
committed
ci: fix cf pages render
1 parent d9270f3 commit 4c72a8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/routes/_index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ import {
1515
import { OrderTabs } from '~/components/OrderTabs';
1616

1717
export const loader = async ({ context }: LoaderFunctionArgs) => {
18-
console.log('CONTEXT', context);
1918
return json({
2019
// eslint-disable-next-line @typescript-eslint/no-explicit-any
21-
useAdvancedCharts: (context.env as any).cloudflare.USE_ADVANCED_CHARTS === 'true' ? true : false
20+
useAdvancedCharts: (context.cloudflare as any).env.USE_ADVANCED_CHARTS === 'true' ? true : false
2221
});
2322
};
2423

0 commit comments

Comments
 (0)