chore: build and deploy web-antd
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 9s
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 9s
This commit is contained in:
1
apps/web-antd/dist/js/index-BMtydd2c.js
vendored
Normal file
1
apps/web-antd/dist/js/index-BMtydd2c.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{aq as t,a5 as i,bs as c}from"./bootstrap-DhvYQWXT.js";import{f as p}from"./fetch-ByP_rkuS.js";const u={VITE_GLOB_API_URL:"/admin-api"},{apiURL:m}=c(u,!0),g=i();function f({data:e,onClose:r,onMessage:n,onError:a,ctrl:o}){const s=g.accessToken;return p(`${m}/ai/write/generate-stream`,{method:"post",headers:{"Content-Type":"application/json",Authorization:`Bearer ${s}`},openWhenHidden:!0,body:JSON.stringify(e),onmessage:n,onerror:a,onclose:r,signal:o.signal})}function l(e){return t.get("/ai/write/page",{params:e})}function h(e){return t.delete("/ai/write/delete",{params:{id:e}})}export{h as d,l as g,f as w};
|
||||
Reference in New Issue
Block a user