Skip to content

Commit

Permalink
[Nextjs][Multisite] Fix skipped site info fetch (#1434)
Browse files Browse the repository at this point in the history
* fix order of plugins

* update changelog

* update plugin order

* removed extra space
  • Loading branch information
addy-pathania authored Apr 19, 2023
1 parent f99174b commit f78710b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Our versioning strategy is as follows:
* `[sitecore-jss-nextjs]` Fix for Link component which throws error if field is undefined ([#1425](https://github.com/Sitecore/jss/pull/1425))
* `[templates/react]` Fix compilation error when developing react template in monorepo ([#1428](https://github.com/Sitecore/jss/pull/1428))
* `[sitecore-jss-nextjs]` Fix regex for middleware redirects ([#1431](https://github.com/Sitecore/jss/pull/1431))
* `[templates/nextjs-multisite]` Fix skipped site info fetch ([#1434](https://github.com/Sitecore/jss/pull/1434))

## 21.1.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GraphQLSiteInfoService, SiteInfo } from '@sitecore-jss/sitecore-jss-nex
* You could easily modify this to fetch from another source such as a static JSON file instead.
*/
class MultisitePlugin implements ConfigPlugin {
order = 3;
order = 11;

async exec(config: JssConfig) {
let sites: SiteInfo[] = [];
Expand Down

0 comments on commit f78710b

Please sign in to comment.