@websolutespa/bom-mixer-store 1.8.10 → 1.8.11
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.
- package/CHANGELOG.md +6 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
- package/src/store/store.handler.ts +1 -0
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -1995,6 +1995,7 @@ function storeIndexHandler() {
|
|
|
1995
1995
|
console.error("apiHome.collectionGet", "collections not found", COLLECTIONS);
|
|
1996
1996
|
return response.status(405).send("method not allowed");
|
|
1997
1997
|
}
|
|
1998
|
+
COLLECTIONS.sort((a, b) => a.localeCompare(b));
|
|
1998
1999
|
response.setHeader("Content-Type", "text/html; charset=UTF-8");
|
|
1999
2000
|
response.setHeader("X-Frame-Options", "SAMEORIGIN");
|
|
2000
2001
|
response.setHeader("X-Robots-Tag", "noindex, follow");
|
package/dist/index.mjs
CHANGED
|
@@ -1890,6 +1890,7 @@ function storeIndexHandler() {
|
|
|
1890
1890
|
console.error("apiHome.collectionGet", "collections not found", COLLECTIONS);
|
|
1891
1891
|
return response.status(405).send("method not allowed");
|
|
1892
1892
|
}
|
|
1893
|
+
COLLECTIONS.sort((a, b) => a.localeCompare(b));
|
|
1893
1894
|
response.setHeader("Content-Type", "text/html; charset=UTF-8");
|
|
1894
1895
|
response.setHeader("X-Frame-Options", "SAMEORIGIN");
|
|
1895
1896
|
response.setHeader("X-Robots-Tag", "noindex, follow");
|
package/package.json
CHANGED
|
@@ -257,6 +257,7 @@ export function storeIndexHandler() {
|
|
|
257
257
|
console.error('apiHome.collectionGet', 'collections not found', COLLECTIONS);
|
|
258
258
|
return response.status(405).send('method not allowed');
|
|
259
259
|
}
|
|
260
|
+
COLLECTIONS.sort((a, b) => a.localeCompare(b));
|
|
260
261
|
response.setHeader('Content-Type', 'text/html; charset=UTF-8');
|
|
261
262
|
response.setHeader('X-Frame-Options', 'SAMEORIGIN');
|
|
262
263
|
response.setHeader('X-Robots-Tag', 'noindex, follow');
|