create-sitecore-jss 21.2.3-canary.0 → 21.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ export const config = {
14
14
  * 3. /sitecore/api (Sitecore API routes)
15
15
  * 4. /- (Sitecore media)
16
16
  * 5. /healthz (Health check)
17
- * 6. all root files inside /public (e.g. /favicon.ico)
17
+ * 6. all root files inside /public
18
18
  */
19
- matcher: ['/', '/((?!api/|_next/|healthz|sitecore/api/|-/|[\\w-]+\\.\\w+).*)'],
19
+ matcher: ['/', '/((?!api/|_next/|healthz|sitecore/api/|-/|favicon.ico|sc_logo.svg).*)'],
20
20
  };
@@ -16,7 +16,7 @@ class RedirectsPlugin implements MiddlewarePlugin {
16
16
  // These should match those in your next.config.js (i18n.locales).
17
17
  locales: ['en'],
18
18
  // This function determines if a route should be excluded from RedirectsMiddleware.
19
- // Certain paths are ignored by default (e.g. files and Next.js API routes), but you may wish to exclude more.
19
+ // Certain paths are ignored by default (e.g. Next.js API routes), but you may wish to exclude more.
20
20
  // This is an important performance consideration since Next.js Edge middleware runs on every request.
21
21
  excludeRoute: () => false,
22
22
  // This function determines if the middleware should be turned off.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sitecore-jss",
3
- "version": "21.2.3-canary.0",
3
+ "version": "21.2.3",
4
4
  "description": "Sitecore JSS initializer",
5
5
  "bin": "./dist/index.js",
6
6
  "scripts": {
@@ -64,5 +64,5 @@
64
64
  "ts-node": "^10.9.1",
65
65
  "typescript": "~4.9.5"
66
66
  },
67
- "gitHead": "7dfa3a46d7bbfab4526b3978302a0cf081dea679"
67
+ "gitHead": "72dd7d6ae1e7d4566fd269b9505a17ed0e0aae07"
68
68
  }