mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-15 04:25:31 -04:00
fix fathom dashboard iframe
This commit is contained in:
@@ -8,6 +8,7 @@ import Blockquote from "../components/Blockquote";
|
||||
import Code from "../components/CodeInline";
|
||||
import { H2 } from "../components/Heading";
|
||||
import { UnorderedList, ListItem } from "../components/List";
|
||||
import { fathomSiteId, siteDomain } from "../lib/config";
|
||||
|
||||
import faunaImg from "../public/static/images/privacy/fauna_hits.png";
|
||||
|
||||
@@ -79,7 +80,12 @@ const Privacy = () => (
|
||||
is completely public, too!)
|
||||
</p>
|
||||
|
||||
<IFrame src="/stats/" title="Fathom Analytics dashboard" height={500} allowScripts />
|
||||
<IFrame
|
||||
src={`https://app.usefathom.com/share/${fathomSiteId}/${siteDomain}`}
|
||||
title="Fathom Analytics dashboard"
|
||||
height={500}
|
||||
allowScripts
|
||||
/>
|
||||
|
||||
<H2 id="third-party">Third-Party Content</H2>
|
||||
|
||||
|
@@ -26,6 +26,7 @@ export const getServerSideProps: GetServerSideProps = async (context) => {
|
||||
{ loc: "/previously/" },
|
||||
{ loc: "/privacy/", priority: 0.1, changefreq: "yearly" },
|
||||
{ loc: "/projects/", changefreq: "daily" },
|
||||
{ loc: "/stats/", priority: 0.1, changefreq: "yearly" },
|
||||
{ loc: "/uses/" },
|
||||
{ loc: "/y2k/" },
|
||||
];
|
||||
|
Reference in New Issue
Block a user