@proveanything/smartlinks 1.14.7 → 1.14.8
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/dist/docs/API_SUMMARY.md +1 -1
- package/dist/http.js +2 -2
- package/docs/API_SUMMARY.md +1 -1
- package/package.json +1 -1
package/dist/docs/API_SUMMARY.md
CHANGED
package/dist/http.js
CHANGED
|
@@ -101,8 +101,8 @@ function getTtlForPath(path) {
|
|
|
101
101
|
function shouldSkipCache(path) {
|
|
102
102
|
if (!cacheEnabled)
|
|
103
103
|
return true;
|
|
104
|
-
// Never cache auth endpoints — they deal with tokens and session state.
|
|
105
|
-
if (/\/auth\//i.test(path))
|
|
104
|
+
// Never cache auth or account endpoints — they deal with tokens and session state.
|
|
105
|
+
if (/\/(auth|account)\//i.test(path))
|
|
106
106
|
return true;
|
|
107
107
|
return false;
|
|
108
108
|
}
|
package/docs/API_SUMMARY.md
CHANGED