cloudflare-dyndns-updater
Version:
A TypeScript Express application that dynamically updates DNS records on Cloudflare with the current public IP address
12 lines (11 loc) • 516 B
TypeScript
import express, { Request, Response, NextFunction } from "express";
declare const app: import("express-serve-static-core").Express;
/**
* Generate a unique RDP identifier
* Format is 16 hex characters followed by "RDP"
* @returns {string} Generated RDP ID
*/
declare const generateRdpId: () => string;
declare const apiKeyMiddleware: (req: Request, res: Response, next: NextFunction) => express.Response<any, Record<string, any>> | undefined;
export { app, apiKeyMiddleware, generateRdpId };
export default app;