This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from tharth0ur/main
proj-at/subdomains:main
- Loading branch information
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// change the file to [sub].js | ||
// e.g. `foo.js` | ||
export default { | ||
owner: { | ||
// your github username | ||
user: "tharth0ur", | ||
// your github email | ||
email: "[email protected]", | ||
}, | ||
records: [ | ||
// can include multiple records, if some of them conflict, may be overwritten | ||
{ | ||
// type of DNS record | ||
type: "CNAME", | ||
// content of the record | ||
record: "cname.vercel-dns.com.", | ||
// using Cloudflare CDN | ||
proxied: true, | ||
// TTL, (s), must be between 60 and 86400 | ||
ttl: 60, | ||
}, | ||
// ... | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// change the file to [sub].js | ||
// e.g. `foo.js` | ||
export default { | ||
owner: { | ||
// your github username | ||
user: "tharth0ur", | ||
// your github email | ||
email: "[email protected]", | ||
}, | ||
records: [ | ||
// can include multiple records, if some of them conflict, may be overwritten | ||
{ | ||
// type of DNS record | ||
type: "CNAME", | ||
// content of the record | ||
record: "cname.vercel-dns.com.", | ||
// using Cloudflare CDN | ||
proxied: true, | ||
// TTL, (s), must be between 60 and 86400 | ||
ttl: 60, | ||
}, | ||
{ | ||
// type of DNS record | ||
type: "TXT", | ||
// content of the record | ||
record: "x...", | ||
// TTL, (s), must be between 60 and 86400 | ||
ttl: 60, | ||
}, | ||
// ... | ||
] | ||
} |