plausible update

This commit is contained in:
Cory Dransfeldt 2023-02-08 13:42:11 -08:00
parent 39b8ce79e8
commit 0787c989e4
No known key found for this signature in database
2 changed files with 2 additions and 15 deletions

View file

@ -21,11 +21,7 @@ const siteMetadata = {
bandcamp: 'https://augurymetal.bandcamp.com',
lastfm: 'https://www.last.fm/music/augury',
locale: 'en-CA',
analytics: {
plausibleDataDomain: 'augurymetal.com',
plausibleSrcUrl: '/script.12587e3213z2t1891zaz.js',
plausibleApiUrl: '/api/12761a4481f2x6771zab',
},
analytics: {},
newsletter: {
// supports mailchimp, buttondown, convertkit, klaviyo
// Please add your .env file and modify it according to your selection

View file

@ -70,16 +70,7 @@ module.exports = withBundleAnalyzer({
]
},
async rewrites() {
return [
{
source: '/script.12587e3213z2t1891zaz.js', // plausible script proxy
destination: 'https://plausible.io/js/script.outbound-links.js',
},
{
source: '/api/12761a4481f2x6771zab', // plausible api proxy
destination: 'https://plausible.io/api/event',
},
]
return []
},
webpack: (config, { dev, isServer }) => {
config.module.rules.push({