ad907196cb
* feat(sitemap): support SSR generated routes * feat(sitemap): add changeset for SSR support * refactor: move logic to `astro:build:done` * generate route to obey `trailingSlash` setting * add logic to respect "directory" build format * integration(sitemap): add unit test for ssr support
12 lines
283 B
JavaScript
12 lines
283 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import sitemap from '@astrojs/sitemap';
|
|
import nodeServer from '@astrojs/node'
|
|
|
|
export default defineConfig({
|
|
integrations: [sitemap()],
|
|
site: 'http://example.com',
|
|
output: 'server',
|
|
adapter: nodeServer({
|
|
mode: "standalone"
|
|
})
|
|
})
|