@cal.macconnachie/web-components 1.2.2 → 1.2.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/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9056,7 +9056,7 @@ const Ls = ({ baseUrl: e }) => {
|
|
|
9056
9056
|
), Promise.reject(new wr("No refresh token available"));
|
|
9057
9057
|
window.__authRefreshPromise || (window.__authRefreshPromise = (async () => {
|
|
9058
9058
|
try {
|
|
9059
|
-
const a = `${e.endsWith("/") ? e.slice(0, -1) : e}/api/auth/refresh
|
|
9059
|
+
const a = `${e.endsWith("/") ? e.slice(0, -1) : e}/api/auth/refresh`.replace(/\/api\/api\//, "/api/"), n = await fetch(a, {
|
|
9060
9060
|
method: "POST",
|
|
9061
9061
|
headers: {
|
|
9062
9062
|
"Content-Type": "application/json"
|