mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
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"
|
|
})
|
|
})
|