File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11KV_REST_API_TOKEN = your_kv_token
22KV_REST_API_URL = " https://your.api/url"
33GITHUB_TOKEN = your_github_token
4+ PUBLIC_POSTHOG_TOKEN = your_posthog_token
Original file line number Diff line number Diff line change 11@import "tailwindcss" theme(static);
2-
3- @plugin "@tailwindcss/typography" ;
42@import "tw-animate-css" ;
53@import "./fonts.css" ;
64
5+ @plugin "@tailwindcss/typography" ;
6+
77@variant dark (& : is (.dark * ));
88
99/* shadcn static */
Original file line number Diff line number Diff line change 11import { browser } from "$app/environment" ;
2+ import { PUBLIC_POSTHOG_TOKEN } from "$env/static/public" ;
23import posthog from "posthog-js" ;
34import { injectSpeedInsights } from "@vercel/speed-insights/sveltekit" ;
45import type { MetaTagsProps } from "svelte-meta-tags" ;
@@ -9,7 +10,7 @@ const siteName = "Svelte Changelog";
910
1011export function load ( { url, data } ) {
1112 if ( browser ) {
12- posthog . init ( "phc_mikNRIemcxWqXq0a4Pj9WPIWpbl815sf8VoMLJlFNYT" , {
13+ posthog . init ( PUBLIC_POSTHOG_TOKEN , {
1314 api_host : `${ url . origin } /ingest` ,
1415 ui_host : "https://eu.posthog.com" ,
1516 person_profiles : "always"
You can’t perform that action at this time.
0 commit comments