Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const expressiveCodeConfig: ExpressiveCodeConfig = {
export const umamiConfig: UmamiConfig = {
enable: true,
baseUrl: "https://umami.blog.isandrel.com/analytics/us", // Cloudflare Worker proxy + US region
shareId: import.meta.env.UMAMI_SHARE_ID || "", // Get this from Umami dashboard > Share URL
shareId: import.meta.env.PUBLIC_UMAMI_SHARE_ID || "", // Get this from Umami dashboard > Share URL
timezone: "America/Los_Angeles", // Your timezone
websiteId: "e794ce26-fb5b-4b18-868f-d77b3b574c88", // Your Umami website ID
scriptUrl: "https://umami.blog.isandrel.com/script.js", // Use proxy for script too
Expand Down
2 changes: 1 addition & 1 deletion src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/// <reference path="../.astro/types.d.ts" />

interface ImportMetaEnv {
readonly UMAMI_SHARE_ID: string;
readonly PUBLIC_UMAMI_SHARE_ID: string;
}

interface ImportMeta {
Expand Down