@xuda.io/xuda-worker-bundle-min 1.3.956 → 1.3.957
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 +10 -7
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6055,13 +6055,16 @@ func.utils.remove_js_css_file = function (filename, filetype) {
|
|
|
6055
6055
|
func.utils.replace_studio_drive_url = function (SESSION_ID, val) {
|
|
6056
6056
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
6057
6057
|
if (!_session.is_deployment) return val;
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6058
|
+
try {
|
|
6059
|
+
return val.replaceAll(
|
|
6060
|
+
`https://xuda.io/studio-drive/${APP_OBJ[_session.app_id].app_replicate}`,
|
|
6061
|
+
`https://${_session.domain}/studio-drive/${
|
|
6062
|
+
APP_OBJ[_session.app_id].app_replicate
|
|
6063
|
+
}`
|
|
6064
|
+
);
|
|
6065
|
+
} catch (err) {
|
|
6066
|
+
return val;
|
|
6067
|
+
}
|
|
6065
6068
|
};
|
|
6066
6069
|
|
|
6067
6070
|
func.utils.get_drive_url = function (SESSION_ID, val, wrap) {
|