Skip to content

Commit

Permalink
GoogleTabManager 수정 (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
CirnoV authored Dec 19, 2024
1 parent 04715ac commit e08a156
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/layouts/trackers/Trackers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { onMount } from "solid-js";
import GoogleTagManager from "./GoogleTagManager";
import NaverAdvertiseAnalytics from "./NaverAdvertiseAnalytics";

const isProd = import.meta.env.VERCEL_ENV === "production";
const isProd = import.meta.env.VITE_VERCEL_ENV === "production";

export default function Trackers() {
onMount(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(root)/blog/(list).tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const loadLatestPosts = cache(async () => {
(entry) =>
!entry.frontmatter.draft ||
import.meta.env.DEV ||
import.meta.env.VERCEL_ENV === "preview",
import.meta.env.VITE_VERCEL_ENV === "preview",
)
.map((entry) => ({
slug: entry.slug,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(root)/blog/(list)/tags/[tag].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const loadPosts = cache(async (tag: string) => {
entry.frontmatter.tags.includes(tag) &&
(!entry.frontmatter.draft ||
import.meta.env.DEV ||
import.meta.env.VERCEL_ENV === "preview"),
import.meta.env.VITE_VERCEL_ENV === "preview"),
)
.map((entry) => ({
slug: entry.slug,
Expand Down

0 comments on commit e08a156

Please sign in to comment.