Skip to content

Commit

Permalink
Update Fathom effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamish Williams committed Apr 30, 2022
1 parent baab4f9 commit 970c001
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
NEXT_PUBLIC_WEBSITE_DOMAIN=hamishw.com
NEXT_PUBLIC_WEBSITE_URL=https://hamishw.com
NEXT_PUBLIC_API_URL=https://api.hamishw.com
NEXT_PUBLIC_FATHOM_ID=CJZKJKLA
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/Post/PostMarkdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const PostImage = ({ src, alt, width, height, ...rest }) => {
const Embed = ({ src }) => {
return (
<div className={styles.embed}>
<iframe src={src} loading="lazy" onError={() => console.log('fuck')} />
<iframe src={src} loading="lazy" />
</div>
);
};
Expand Down
1 change: 0 additions & 1 deletion src/pages/_app.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const App = ({ Component, pageProps }) => {

Fathom.load(process.env.NEXT_PUBLIC_FATHOM_ID, {
url: process.env.NEXT_PUBLIC_FATHOM_URL,
includedDomains: [process.env.NEXT_PUBLIC_WEBSITE_DOMAIN],
});

const onRouteChangeComplete = () => {
Expand Down

0 comments on commit 970c001

Please sign in to comment.