Skip to content

Commit

Permalink
fix EnumChangefreq issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek committed Nov 30, 2020
1 parent 5d449bd commit 01c629f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docusaurus-plugin-sitemap/src/pluginOptionSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
* LICENSE file in the root directory of this source tree.
*/
import * as Joi from 'joi';
import {EnumChangefreq} from 'sitemap';
import {PluginOptions} from './types';

export const DEFAULT_OPTIONS: Required<PluginOptions> = {
cacheTime: 600 * 1000, // 600 sec - cache purge period.
changefreq: 'weekly',
changefreq: 'weekly' as EnumChangefreq,
priority: 0.5,
trailingSlash: false,
};
Expand Down

0 comments on commit 01c629f

Please sign in to comment.