whoopsies
This commit is contained in:
		
							parent
							
								
									4ebafd61f9
								
							
						
					
					
						commit
						b221de976d
					
				
							
								
								
									
										4
									
								
								index.js
								
								
								
								
							
							
						
						
									
										4
									
								
								index.js
								
								
								
								
							| 
						 | 
					@ -135,8 +135,8 @@ app.ws('/download/:id/:quality', async (ws, req) => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    let videoTotal = videoFormat.content_length;
 | 
					    let videoTotal = videoFormat.content_length;
 | 
				
			||||||
    if (videoTotal > (1_048_576 * 150)) {
 | 
					    if (videoTotal > (1_048_576 * 150)) {
 | 
				
			||||||
        ws.send('<br/><b>Is this content considered high risk? If so, please email me at admin@preservetube.com.</b>');
 | 
					        ws.send('<h2>Is this content considered high risk? If so, please email me at admin@preservetube.com.</h2><br/>');
 | 
				
			||||||
        ws.send('<b>This video is too large, and unfortunately, Preservetube does not have unlimited storage.</b><br/>');        
 | 
					        ws.send('<br/><h2>This video is too large, and unfortunately, Preservetube does not have unlimited storage.</h2>');        
 | 
				
			||||||
        return ws.close()
 | 
					        return ws.close()
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue