@platformatic/watt-extra 0.1.2 → 0.1.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.
- package/lib/watt.js +3 -3
- package/package.json +1 -1
package/lib/watt.js
CHANGED
|
@@ -258,7 +258,7 @@ class Watt {
|
|
|
258
258
|
this.#instanceConfig.iccServices.trafficante.url
|
|
259
259
|
)
|
|
260
260
|
return {
|
|
261
|
-
module:
|
|
261
|
+
module: require.resolve(
|
|
262
262
|
'undici-traffic-interceptor'
|
|
263
263
|
),
|
|
264
264
|
options: {
|
|
@@ -340,7 +340,7 @@ class Watt {
|
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
return {
|
|
343
|
-
module:
|
|
343
|
+
module: require.resolve('undici-slicer-interceptor'),
|
|
344
344
|
options: cacheConfig,
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -406,7 +406,7 @@ class Watt {
|
|
|
406
406
|
config.httpCache = {
|
|
407
407
|
...config.httpCache,
|
|
408
408
|
cacheTagsHeader,
|
|
409
|
-
store:
|
|
409
|
+
store: require.resolve('undici-cache-redis'),
|
|
410
410
|
clientOpts: httpCache,
|
|
411
411
|
}
|
|
412
412
|
}
|