Skip to content

Commit

Permalink
add analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
thatgurkangurk committed Jan 27, 2025
1 parent adeeb02 commit 66739c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/entry-server.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @refresh reload
import { createHandler, StartServer } from "@solidjs/start/server";
import { Assets } from "solid-js/web";

export default createHandler(() => (
<StartServer
Expand All @@ -13,6 +14,13 @@ export default createHandler(() => (
/>
<link rel="icon" href="/favicon.ico" />
{assets}
<Assets>
<script
defer
src="https://assets.onedollarstats.com/stonks.js"
id="stonks"
/>
</Assets>
</head>
<body>
<div id="app">{children}</div>
Expand Down

0 comments on commit 66739c5

Please sign in to comment.