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