fix
This commit is contained in:
parent
093af3d3bc
commit
1478d02cfc
|
|
@ -38,11 +38,14 @@ export const ExternalDeploy = () => {
|
|||
local.render();
|
||||
|
||||
try {
|
||||
local.api = createAPI(p.site.api_url);
|
||||
const url = p.site.api_url;
|
||||
|
||||
local.api = createAPI(url);
|
||||
let res = await local.api._deploy({
|
||||
type: "check",
|
||||
id_site: p.site.id,
|
||||
});
|
||||
|
||||
if (res) {
|
||||
local.db.url = res.db.url;
|
||||
local.now = res.now;
|
||||
|
|
|
|||
|
|
@ -179,6 +179,8 @@ export const fetchSendApi = async (
|
|||
|
||||
if (!win.frmapi) {
|
||||
win.frmapi = {};
|
||||
}
|
||||
if (!win.frmapi[base]) {
|
||||
win.frmapi[base] = await createFrameCors(base, win);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue