commit
						5bfdad897b
					
				
							
								
								
									
										1793
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1793
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -16,7 +16,7 @@ export class FileStorage implements Storage { | ||||
| 	} | ||||
| 
 | ||||
| 	async set(path: string, value: any) { | ||||
| 		path = join(process.env.STORAGE_LOCATION || "", path); | ||||
| 		path = join(process.env.STORAGE_LOCATION || "", path).replace(/[\\]/g, "/"); | ||||
| 		const dir = path.split("/").slice(0, -1).join("/"); | ||||
| 		await fs.mkdir(dir, { recursive: true }).caught(); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Flam3rboy
						Flam3rboy