dd931a7806
* fix(#7080): sitemap should only add trailing slash to pages * fix(sitemap): only include pages in sitemap * chore: add test * chore: remove unused import * docs: update readme
13 lines
260 B
JavaScript
13 lines
260 B
JavaScript
import { defineConfig } from 'astro/config';
|
|
import sitemap from '@astrojs/sitemap';
|
|
|
|
export default defineConfig({
|
|
integrations: [sitemap()],
|
|
site: 'http://example.com',
|
|
redirects: {
|
|
'/redirect': '/'
|
|
},
|
|
experimental: {
|
|
redirects: true
|
|
}
|
|
})
|