Merge branch 'stage' into prod

This commit is contained in:
Christoph Haas 2025-11-03 22:50:12 +01:00
commit 4992e4a8c6

View file

@ -10,6 +10,16 @@ export default defineConfig({
site: "https://workaround.org", site: "https://workaround.org",
integrations: [ integrations: [
starlight({ starlight({
head: [
{
tag: "script",
attrs: {
src: "https://rybbit.workaround.org/api/script.js",
"data-site": "1",
defer: true,
},
},
],
expressiveCode: { expressiveCode: {
frames: { frames: {
removeCommentsWhenCopyingTerminalFrames: false, // keep the commented lines when copying shell snippets removeCommentsWhenCopyingTerminalFrames: false, // keep the commented lines when copying shell snippets
@ -55,17 +65,17 @@ export default defineConfig({
}, },
}), }),
// https://github.com/felix-berlin/astro-matomo // https://github.com/felix-berlin/astro-matomo
matomo({ // matomo({
enabled: import.meta.env.PROD, // Only load in production // enabled: import.meta.env.PROD, // Only load in production
host: "https://matomo.workaround.org/", // host: "https://matomo.workaround.org/",
setCookieDomain: "*.workaround.org", // setCookieDomain: "*.workaround.org",
trackerUrl: "js/", // defaults to matomo.php // trackerUrl: "js/", // defaults to matomo.php
srcUrl: "js/", // defaults to matomo.js // srcUrl: "js/", // defaults to matomo.js
siteId: 1, // siteId: 1,
heartBeatTimer: 5, // heartBeatTimer: 5,
disableCookies: true, // disableCookies: true,
debug: false, // debug: false,
}), // }),
sitemap(), sitemap(),
], ],