diff --git a/astro.config.mjs b/astro.config.mjs index 51fe2ef..4a8064d 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,7 +5,6 @@ import keystatic from '@keystatic/astro'; import node from '@astrojs/node'; import robotsTxt from 'astro-robots-txt'; import mdx from '@astrojs/mdx'; -import matomo from 'astro-matomo'; import vue from "@astrojs/vue"; // https://astro.build/config @@ -19,22 +18,7 @@ export default defineConfig({ }, integrations: [markdoc(), ...(process.env.SKIP_KEYSTATIC ? [] : [keystatic()]), AutoImport({ imports: ['./src/components/keystatic/Image.astro', './src/components/init/SoftwareItem.astro'] - }), mdx(), - // This must initalzied after AutoImport, not before - matomo({ - enabled: import.meta.env.PROD, - // Only load in production - host: "https://stats.sudovanilla.org/", - setCookieDomain: "*.sudovanilla.org", - trackerUrl: "js/", - // defaults to matomo.php - srcUrl: "js/", - // defaults to matomo.js - siteId: 1, - heartBeatTimer: 5, - disableCookies: true, - debug: false - }), robotsTxt({ + }), mdx(), robotsTxt({ policy: [{ userAgent: 'Googlebot', disallow: '/'