akpm-knowledge-base-chat 2.0.11 → 2.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/CDN/akb-chat.js +2 -5
- package/package.json +1 -1
package/CDN/akb-chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Version: 2.0.
|
|
1
|
+
/* Version: 2.0.12 */
|
|
2
2
|
var co = Object.defineProperty;
|
|
3
3
|
var Js = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
@@ -3502,10 +3502,7 @@ const jd = async (t) => {
|
|
|
3502
3502
|
let o = i.result[0].file_content;
|
|
3503
3503
|
if (a.endsWith(".akd")) {
|
|
3504
3504
|
const u = `${Ed(e)}/api/download/${t.split("_")[1]}?token=${n}&envId=aks_${t.split("_")[0]}`, d = await fetch(u, {
|
|
3505
|
-
method: "GET"
|
|
3506
|
-
headers: {
|
|
3507
|
-
"ngrok-skip-browser-warning": "true"
|
|
3508
|
-
}
|
|
3505
|
+
method: "GET"
|
|
3509
3506
|
});
|
|
3510
3507
|
if (!d.ok)
|
|
3511
3508
|
throw new Error(`Failed to fetch document: ${d.status} - ${d.statusText}`);
|