Update the styling to better match existing styles
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
		
							parent
							
								
									5d438ca2b6
								
							
						
					
					
						commit
						72740ba477
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -95,8 +95,11 @@ class Notification { | |||
|                     await axios.post(notification.discordWebhookUrl, discordtestdata) | ||||
|                     return okMsg; | ||||
|                 } | ||||
| 
 | ||||
|                 let url = monitorJSON["url"] === "https://" ? monitorJSON["hostname"] : monitorJSON["url"] | ||||
|                 if (monitorJSON["port"]) url += ":" + monitorJSON[port] | ||||
|                 if (monitorJSON["port"]) { | ||||
|                     url += ":" + monitorJSON[port]; | ||||
|                 } | ||||
| 
 | ||||
|                 // If heartbeatJSON is not null, we go into the normal alerting loop.
 | ||||
|                 if (heartbeatJSON["status"] == 0) { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue