42 lines
942 B
JavaScript
42 lines
942 B
JavaScript
|
import { defineConfig } from 'astro/config';
|
||
|
import node from "@astrojs/node";
|
||
|
import partytown from "@astrojs/partytown";
|
||
|
import sitemap from "@astrojs/sitemap";
|
||
|
import robotsTxt from "astro-robots-txt";
|
||
|
import vue from "@astrojs/vue";
|
||
|
import matomo from "astro-matomo";
|
||
|
|
||
|
export default defineConfig({
|
||
|
output: "server",
|
||
|
adapter: node({
|
||
|
mode: "standalone"
|
||
|
}),
|
||
|
security: {
|
||
|
checkOrigin: true
|
||
|
},
|
||
|
server: {
|
||
|
port: 6003,
|
||
|
host: true
|
||
|
},
|
||
|
devToolbar: {enabled: false},
|
||
|
experimental: {
|
||
|
actions: true,
|
||
|
},
|
||
|
integrations: [
|
||
|
partytown(),
|
||
|
sitemap(),
|
||
|
robotsTxt(),
|
||
|
vue(),
|
||
|
matomo({
|
||
|
enabled: import.meta.env.PROD, // Only run Matomo in production
|
||
|
host: "#",
|
||
|
setCookieDomain: "#",
|
||
|
trackerUrl: "js/", // Defaults to matomo.php
|
||
|
srcUrl: "js/", // Defaults to matomo.js
|
||
|
siteId: 143,
|
||
|
heartBeatTimer: 5,
|
||
|
disableCookies: true,
|
||
|
debug: false,
|
||
|
})
|
||
|
]
|
||
|
});
|