Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/graphql nextjs sitemap update #1007

Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ class GraphqlSitemapServicePlugin implements SitemapFetcherPlugin {
endpoint: config.graphQLEndpoint,
apiKey: config.sitecoreApiKey,
siteName: config.jssAppName,
/*
The Sitemap Service needs a root item ID in order to fetch the list of pages for the current
app. If your Sitecore instance only has 1 JSS App, you can specify the root item ID here;
otherwise, the service will attempt to figure out the root item for the current JSS App using GraphQL and app name.
rootItemId: '{GUID}'
*/
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class RedirectsMiddleware {
/**
* Method returns RedirectInfo when matches
* @param url
* @return Promise<RedirectInfo>
* @returns Promise<RedirectInfo>
* @private
*/
private async getExistsRedirect(url: URL): Promise<RedirectInfo | undefined> {
Expand Down
Loading