@xuda.io/xuda-worker-bundle-min 1.3.205 → 1.3.206
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/index.js +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -354,7 +354,12 @@ func.common.db = async function (
|
|
|
354
354
|
typeof IS_PROCESS_SERVER === "undefined") ||
|
|
355
355
|
!SESSION_OBJ?.[SESSION_ID]?.rpi_http_methods?.includes(serviceP)
|
|
356
356
|
) {
|
|
357
|
-
if (
|
|
357
|
+
if (
|
|
358
|
+
SESSION_OBJ[SESSION_ID].engine_mode === "live_preview" &&
|
|
359
|
+
["dbs_read", "dbs_update", "dbs_delete", "dbs_restore"].includes(
|
|
360
|
+
serviceP
|
|
361
|
+
)
|
|
362
|
+
) {
|
|
358
363
|
const ret = {
|
|
359
364
|
code: 1,
|
|
360
365
|
data: await perform_rpi_request_from_studio(serviceP),
|