File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ tagNameMap = {
3333
3434const generateSiteMap = ( componentNames ) => {
3535 const urls = componentNames . map ( componentName => {
36- return { url : `/ui5-webcomponents/playground/component /${ componentName } /` , changefreq : 'daily' } ;
36+ return { url : `/ui5-webcomponents/playground/components /${ componentName } /` , changefreq : 'daily' } ;
3737 } ) ;
3838
3939 urls . unshift ( { url : `/ui5-webcomponents/playground/` , changefreq : 'daily' } ) ;
@@ -48,7 +48,6 @@ const generateSiteMap = (componentNames) => {
4848 // Creates a sitemap object given the input configuration with URLs
4949 var sitemap = sm . createSitemap ( options ) ;
5050 // Generates XML with a callback function
51- sitemap . toXML ( function ( err , xml ) { if ( ! err ) { console . log ( xml ) } } ) ;
5251 // Gives you a string containing the XML data
5352 var xml = sitemap . toString ( ) ;
5453
You can’t perform that action at this time.
0 commit comments