resolve conflict

This commit is contained in:
Cory Dransfeldt 2022-11-01 08:20:58 -07:00
parent 5e27d5fea3
commit 41c7fa6c19
No known key found for this signature in database
2 changed files with 15 additions and 3 deletions

View file

@ -22,9 +22,9 @@ const siteMetadata = {
lastfm: 'https://www.last.fm/music/augury',
locale: 'en-CA',
analytics: {
plausibleDataDomain: '',
plausibleSrcUrl: '',
plausibleApiUrl: '',
plausibleDataDomain: 'augurymetal.com',
plausibleSrcUrl: '/script.12587e3213z2t1891zaz.js',
plausibleApiUrl: '/api/12761a4481f2x6771zab',
},
newsletter: {
// supports mailchimp, buttondown, convertkit, klaviyo

View file

@ -69,6 +69,18 @@ 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',
},
]
},
webpack: (config, { dev, isServer }) => {
config.module.rules.push({
test: /\.(png|jpe?g|gif|mp4)$/i,