mirror of
https://github.com/withastro/astro.git
synced 2025-03-31 23:31:30 -05:00
update ChangeFreq
This commit is contained in:
parent
0049fda62f
commit
2f63a7d563
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import { generateSitemap } from './generate-sitemap.js';
|
|||
import { Logger } from './utils/logger.js';
|
||||
import { validateOptions } from './validate-options.js';
|
||||
|
||||
export type ChangeFreq = EnumChangefreq;
|
||||
export const ChangeFreq = { ...EnumChangefreq } as const;
|
||||
export type SitemapItem = Pick<
|
||||
SitemapItemLoose,
|
||||
'url' | 'lastmod' | 'changefreq' | 'priority' | 'links'
|
||||
|
@ -32,7 +32,7 @@ export type SitemapOptions =
|
|||
entryLimit?: number;
|
||||
|
||||
// sitemap specific
|
||||
changefreq?: ChangeFreq;
|
||||
changefreq?: EnumChangefreq;
|
||||
lastmod?: Date;
|
||||
priority?: number;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue