Disabled SSL certificate validation for Ntfy
This commit is contained in:
		
							parent
							
								
									c7e07f309d
								
							
						
					
					
						commit
						b3a2076416
					
				| 
						 | 
				
			
			@ -26,7 +26,7 @@ class NtfyNotifier:
 | 
			
		|||
    async def send_notification(self, camera: str, status: bool) -> None:
 | 
			
		||||
        logger.debug(f'Sending notification for {camera=}...')
 | 
			
		||||
        message = f'{camera} is back online' if status else f'{camera} is offline'
 | 
			
		||||
        await self._aiohttp_session.post(self._ntfy_url, json={
 | 
			
		||||
        await self._aiohttp_session.post(self._ntfy_url, ssl=False, json={
 | 
			
		||||
            'topic': 'frigate_camera_uptime',
 | 
			
		||||
            'title': 'Frigate',
 | 
			
		||||
            'message': message,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue