mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-13 12:14:46 +00:00
publish _redirect TXT records for URL records
This commit is contained in:
1 parent
adfab51480
commit
e82c9ae415
1 file changed
+1
@@ -137,6 +137,7 @@ for (var subdomain in domains) {
|
||||
// Handle URL records
|
||||
if (domainData.record.URL) {
|
||||
records.push(A(subdomainName, IP("192.0.2.1"), CF_PROXY_ON));
|
||||
records.push(TXT("_redirect." + subdomainName, domainData.record.URL));
|
||||
}
|
||||
|
||||
// Handle reserved domains
|
||||
|
||||
Reference in new issue
Block a user