Skip to content

Commit

Permalink
use a function
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsoncusack committed May 10, 2024
1 parent f3d802d commit 1c0a4e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vocs.config.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { defineConfig } from "vocs";

export default defineConfig({
head: <script defer src={process.env.VERCEL_ENV == "production" ? "/_vercel/insights/script.js" : ""}></script>,
head() {
return <script defer src={process.env.VERCEL_ENV == "production" ? "/_vercel/insights/script.js" : ""}></script>;
},
theme: {
colorScheme: "system",
variables: {
Expand Down

0 comments on commit 1c0a4e2

Please sign in to comment.