extract-from-sitemap 0.0.11 → 0.0.12
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/mod.js +2 -2
- package/package.json +1 -1
package/mod.js
CHANGED
|
@@ -504,12 +504,12 @@ function getPathFromUrl(urlStr) {
|
|
|
504
504
|
|
|
505
505
|
// Handle root path
|
|
506
506
|
if (path === "/" || path === "") {
|
|
507
|
-
return "/index
|
|
507
|
+
return "/index";
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
// Handle paths ending with /
|
|
511
511
|
if (path.endsWith("/")) {
|
|
512
|
-
path += "index
|
|
512
|
+
path += "index";
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
return path;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "extract-from-sitemap",
|
|
3
3
|
"bin": "cli.js",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.12",
|
|
5
5
|
"main": "mod.js",
|
|
6
6
|
"description": "A module and CLI that allows extracting all pages from a sitemap into markdown and a llms.txt, using Parallel.ai APIs.",
|
|
7
7
|
"files": [
|