hdoc-tools 0.17.13 → 0.17.14
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/hdoc-module.js +2 -1
- package/package.json +1 -1
package/hdoc-module.js
CHANGED
@@ -132,9 +132,10 @@
|
|
132
132
|
continue;
|
133
133
|
}
|
134
134
|
|
135
|
-
if (includesCache[link] !== undefined) {
|
135
|
+
if ((link.startsWith('http://') || link.startsWith('https://')) && includesCache[link] !== undefined) {
|
136
136
|
console.log(`Serving From Cache: ${link}`);
|
137
137
|
body = body.replace(include_value, includesCache[link]);
|
138
|
+
response.success++;
|
138
139
|
continue;
|
139
140
|
}
|
140
141
|
|