Neuaufbau: Astro 5, Anfrage statt Buchung, Kundenkarte, Design-Tokens, SEO/GEO, Security-Header
This commit is contained in:
1 parent
49afd192ef
commit
0aa72718a0
86 files changed
+9743
-1079
No files matched your search
+21
-1
@@ -1,7 +1,27 @@
|
||||
// @ts-check
|
||||
import { defineConfig } from 'astro/config';
|
||||
import sitemap from '@astrojs/sitemap';
|
||||
|
||||
export default defineConfig({
|
||||
site: 'https://vk-demo.heidrich-digital.de',
|
||||
site: 'https://vk-friseur.heidrich-digital.de',
|
||||
output: 'static',
|
||||
trailingSlash: 'never',
|
||||
compressHTML: true,
|
||||
build: {
|
||||
format: 'directory',
|
||||
// Keine Inline-Styles: erlaubt eine strenge CSP ohne 'unsafe-inline'.
|
||||
inlineStylesheets: 'never',
|
||||
},
|
||||
vite: {
|
||||
build: { assetsInlineLimit: 0, cssCodeSplit: false },
|
||||
},
|
||||
image: {
|
||||
// Nur lokale Bilder; keine Fremdquellen.
|
||||
domains: [],
|
||||
},
|
||||
integrations: [
|
||||
sitemap({
|
||||
filter: (page) => !page.includes('/anfrage/danke') && !page.includes('/404'),
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in new issue
Block a user