This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Replace these values with your Cloudflare API credentials | |
| const CF_API_EMAIL = 'your_email@example.com'; | |
| const CF_API_KEY = 'your_api_key'; | |
| const CF_ACCOUNT_ID = 'your_account_id'; | |
| const ZONE_ID = 'your_zone_id'; | |
| const LIST_OF_SUBDOMAIN_TO_MONITOR = ['cgpa.devomkar.com', 'www.devomkar.com']; | |
| async function handleRequest() { | |
| // Replace these values with your primary and backup IP addresses | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import proxmoxer | |
| import requests | |
| import time | |
| # Proxmox API details | |
| PROXMOX_API_URL = '192.168.0.100:8006' | |
| PROXMOX_USER = 'root@pam' | |
| PROXMOX_PASSWORD = 'your_password' | |
| NODE_NAME = 'your_node_name' |