astro/packages/integrations/sitemap/test/fixtures/ssr/astro.config.mjs
Atila Fassina ad907196cb
Sitemap: support SSR routes ()
* 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
2023-05-03 12:19:45 -04:00

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"
})
})