mirror of
https://github.com/partofmyid/register.git
synced 2026-06-05 18:46:50 +07:00
switch to file
This commit is contained in:
parent
1ae1a56d5f
commit
d6282c87bb
2 changed files with 15 additions and 4 deletions
11
dnsconfig.js
11
dnsconfig.js
|
|
@ -106,11 +106,14 @@ for (var idx in domains) {
|
||||||
// );
|
// );
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
if ('ALIAS' in domainData.record) {
|
||||||
|
commits.push(
|
||||||
|
ALIAS(subdomain, domainData.record.ALIAS + ".", proxyState)
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
commits.push(
|
// commits.push();
|
||||||
// CF_REDIRECT("*", "https://" + rootDomain + '/unregistered'),
|
|
||||||
ALIAS("@", registerSite + ".", proxy.on)
|
|
||||||
);
|
|
||||||
|
|
||||||
D(rootDomain, regNone, providerCf, commits);
|
D(rootDomain, regNone, providerCf, commits);
|
||||||
|
|
|
||||||
8
domains/@.json
Normal file
8
domains/@.json
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"owner": {
|
||||||
|
"username": "SX-9"
|
||||||
|
},
|
||||||
|
"record": {
|
||||||
|
"ALIAS": "website-e7n.pages.dev"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue