// @ts-check import { defineConfig } from 'astro/config'; import sitemap from '@astrojs/sitemap'; export default defineConfig({ site: process.env.SITE_URL || 'https://fl.narl.io', trailingSlash: 'always', build: { // Everything goes into files under /_astro/ so the CSP can stay at 'self' // without hashes or 'unsafe-inline'. inlineStylesheets: 'never', }, vite: { build: { assetsInlineLimit: 0 }, // The plugin data and editor screenshots live in the repository above this folder. server: { fs: { allow: ['..'] } }, }, integrations: [ sitemap({ filter: (page) => !/\/(impressum|datenschutz)\/$/.test(page), }), ], });