mirror of
				https://github.com/karl0ss/homepage.git
				synced 2025-10-30 22:13:59 +00:00 
			
		
		
		
	retry ping > 500 too
This commit is contained in:
		
							parent
							
								
									b0cce6dbde
								
							
						
					
					
						commit
						94678be85e
					
				| @ -21,7 +21,7 @@ export default async function handler(req, res) { | ||||
|     }); | ||||
|     let endTime = performance.now(); | ||||
|      | ||||
|     if (status >= 400 && status < 500) { | ||||
|     if (status >= 400) { | ||||
|       // try one more time as a GET in case HEAD is rejected for whatever reason
 | ||||
|       startTime = performance.now(); | ||||
|       [status] = await httpProxy(pingURL); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
						Michael Shamoon