-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
31 lines (30 loc) · 856 Bytes
/
Copy pathastro.config.mjs
File metadata and controls
31 lines (30 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { defineConfig } from 'astro/config'
import sitemap from '@astrojs/sitemap'
import svelte from '@astrojs/svelte'
export default defineConfig({
site: 'https://pelton.app',
output: 'static',
build: {
inlineStylesheets: 'auto',
},
devToolbar: { enabled: false },
redirects: {
'/2026-4': 'https://github.com/peltonapp/Pelton/releases/tag/v2026.4',
'/discord': 'https://discord.gg/UzPNGZYy6V',
'/github': 'https://github.com/peltonapp/Pelton',
'/AGENTS.md': '/llms.txt',
},
integrations: [
svelte(),
sitemap({
filter: (page) =>
!page.includes('/imprint') &&
!page.includes('/privacy') &&
!page.includes('/terms') &&
!page.includes('/thanks') &&
!page.includes('/2026-4') &&
!page.includes('/discord') &&
!page.includes('/github'),
}),
],
})