@xuda.io/account_module 1.2.271 → 1.2.272

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.
Files changed (2) hide show
  1. package/index.mjs +6 -6
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1561,13 +1561,13 @@ const removeBg = async function (req, job_id, headers) {
1561
1561
  // debug: true, // Optional: Logs fetch attempts for debugging
1562
1562
  // };
1563
1563
 
1564
- const ASSET_PATH = '/var/xuda/assets/imgly-bg'; // <-- your folder
1564
+ const ASSET_PATH = '/var/xuda/assets/imgly-bg'; // <-- your folder
1565
1565
 
1566
- const config = {
1567
- publicPath: `file://${ASSET_PATH}/`, // ← this fixes everything
1568
- debug: false,
1569
- model: "medium" as const, // or "small" if you want faster/smaller
1570
- };
1566
+ const config = {
1567
+ publicPath: `file://${ASSET_PATH}/`, // ← this fixes everything
1568
+ debug: false,
1569
+ model: 'medium', // or "small" if you want faster/smaller
1570
+ };
1571
1571
  debugger;
1572
1572
  const drive_module = await import(`${module_path}/drive_module/index.mjs`);
1573
1573
  const { url } = req;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.271",
3
+ "version": "1.2.272",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {