@xuda.io/ai_module 1.1.5197 → 1.1.5198
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.mjs +3 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3076,6 +3076,9 @@ const get_drive_file_response = async function (drive_type, app_id, uid, file_pa
|
|
|
3076
3076
|
const doc = check_existing_file_ret.duplicates[0];
|
|
3077
3077
|
const _region = process.env.XUDA_HOSTNAME; // "eu.xuda.io"; //
|
|
3078
3078
|
let file_location = doc?.bucket?.[_region]?.Location;
|
|
3079
|
+
if (!file_location) {
|
|
3080
|
+
file_location = doc?.bucket?.[process.env.XUDA_HOSTNAME_ALT]?.Location;
|
|
3081
|
+
}
|
|
3079
3082
|
|
|
3080
3083
|
try {
|
|
3081
3084
|
// const res = await fetch(file_location);
|