Skip to content

Instantly share code, notes, and snippets.

@milanp80
milanp80 / worker.js
Created April 27, 2026 05:52 — forked from Chripo72/worker.js
Cloudflare Worker for TP-Link Omada Custom Dynamic DNS config
///////
// Configuration
// If you use Cloudflare worker variables/secrets, comment the respective lines here.
///////
// Cloudflare API Secrets
const API_TOKEN = "YOUR_API_TOKEN"; // Replace with your Cloudflare API token
const ZONE_ID = "YOUR_ZONE_ID"; // Replace with your Zone ID
// Use HTTP basic authentication? - Set to false for debugging in Cloudflare code editor