Skip to content

Commit

Permalink
fix: removed VITE_TRACKING_SITE
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed Dec 25, 2023
1 parent 82c3bd3 commit b39196a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion .env.dist
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
VITE_GITHUB_AUTH_TOKEN=""
VITE_GITHUB_PROJECTS=""
VITE_TRACKING_SITE=""
5 changes: 0 additions & 5 deletions renderer/shared-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ const SharedHeader: FC<{ pageContext: PageContext }> = ({ pageContext }) => (
<meta content="/assets/mstile-144x144.png" name="msapplication-TileImage" />
<meta content={`${import.meta.env["BASE_URL"]}assets/browserconfig.xml`} name="msapplication-config" />
<meta content="#fff" name="theme-color" />

{/* eslint-disable-next-line @typescript-eslint/no-unsafe-assignment */}
{import.meta.env["VITE_TRACKING_SITE"] ?? (
<script async src="https://eu.umami.is/script.js" data-website-id={import.meta.env["VITE_TRACKING_SITE"]}/>
)}
</Helmet>
);

Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import faviconsPlugin from "@anolilab/unplugin-favicons/vite";
import { ViteImageOptimizer } from "vite-plugin-image-optimizer";
import svgr from "vite-plugin-svgr";
import { imagetools, OutputFormat } from "vite-imagetools";

export default defineConfig(async ({ mode }) => {
let url = "http://0.0.0.0:3000";

Expand Down

0 comments on commit b39196a

Please sign in to comment.