mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 14:25:31 -04:00
remove broken fathom dashboard iframes
This commit is contained in:
@@ -114,6 +114,12 @@ module.exports = (phase) => {
|
||||
{ source: "/apple-touch-icon-precomposed.png", destination: "/static/favicons/apple-touch-icon.png" },
|
||||
],
|
||||
redirects: async () => [
|
||||
{
|
||||
source: "/stats/",
|
||||
destination: `https://app.usefathom.com/share/${config.fathomSiteId}/${config.siteDomain}`,
|
||||
permanent: false,
|
||||
},
|
||||
|
||||
// NOTE: don't remove this, it ensures de-AMPing the site hasn't offended our google overlords too badly!
|
||||
// https://developers.google.com/search/docs/advanced/experience/remove-amp#remove-only-amp
|
||||
{ source: "/notes/:slug/amp.html", destination: "/notes/:slug/", statusCode: 301 },
|
||||
|
Reference in New Issue
Block a user