mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 19:06:40 -04:00
fix fathom custom domain prefetch
This commit is contained in:
@ -16,7 +16,7 @@ module.exports = {
|
||||
verifyFacebook: "q45jxbgyp22ef55xror1pvbehisg9m",
|
||||
monetization: "$ilp.uphold.com/BJp6d2FrEB69",
|
||||
fathomSiteId: "WBGNQUKW",
|
||||
fathomCustomScript: "https://blue-chilly.jarv.is/script.js",
|
||||
fathomCustomDomain: "https://blue-chilly.jarv.is",
|
||||
webmentionId: "jarv.is",
|
||||
|
||||
// Me info
|
||||
|
@ -31,7 +31,7 @@ const App = ({ Component, pageProps }: AppProps) => {
|
||||
// https://vercel.com/guides/deploying-nextjs-using-fathom-analytics-with-vercel
|
||||
Fathom.load(config.fathomSiteId, {
|
||||
// optional custom domain: https://usefathom.com/docs/script/custom-domains
|
||||
url: config.fathomCustomScript || "https://cdn.usefathom.com/script.js",
|
||||
url: `${config.fathomCustomDomain || "https://cdn.usefathom.com"}/script.js`,
|
||||
// don't track branch/deploy previews and localhost
|
||||
includedDomains: [config.siteDomain],
|
||||
});
|
||||
|
Reference in New Issue
Block a user