We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbc08b9 commit 85ab992Copy full SHA for 85ab992
apps/dashboard/src/layouts/Layout.astro
@@ -17,8 +17,8 @@ import "../styles/fonts.scss"
17
<span>@smc/dashboard</span>
18
<code
19
>{
20
- process.env.CF_PAGES_COMMIT_SHA
21
- ? (process.env.CF_PAGES_COMMIT_SHA as string).substring(0, 7)
+ import.meta.env.CF_PAGES_COMMIT_SHA
+ ? (import.meta.env.CF_PAGES_COMMIT_SHA as string).substring(0, 7)
22
: "a1b2c3d"
23
}</code
24
>
0 commit comments