mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 15:34:13 +00:00 
			
		
		
		
	Update server-stats.ts (#3512)
This commit is contained in:
		
							parent
							
								
									f9792f0d5c
								
							
						
					
					
						commit
						48deb35d4b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,7 @@ export default function() {
 | 
			
		|||
		const cpu = await cpuUsage();
 | 
			
		||||
		const usedmem = await usedMem();
 | 
			
		||||
		const totalmem = await totalMem();
 | 
			
		||||
		const disk = diskusage.checkSync(os.platform() == 'win32' ? 'c:' : '/');
 | 
			
		||||
		const disk = await diskusage.check(os.platform() == 'win32' ? 'c:' : '/');
 | 
			
		||||
 | 
			
		||||
		const stats = {
 | 
			
		||||
			cpu_usage: cpu,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue