This commit is contained in:
Pilag6
2025-01-14 14:06:08 +01:00
6 changed files with 65 additions and 24 deletions
+17 -12
View File
@@ -1,16 +1,21 @@
<!-- Please complete this template so we can review your pull request faster. -->
<!--
!!! YOU MUST FILL OUT THIS TEMPLATE FOR YOUR PULL REQUEST TO BE ACCEPTED !!!
-->
## Requirements
Unless explicitly specified otherwise by a **maintainer** or in the requirement description, your domain must pass **ALL** the indicated requirements above.
Unless explicitly specified otherwise by a **maintainer** or in the requirement description, your domain **MUST** pass **ALL** the indicated requirements below.
Please note that we reserve the rights not to accept any domain at our own discretion.
<!-- Change each checkbox to [x] to mark it as checked. -->
- [ ] I have **read** and **understood** the [Terms of Service](https://is-a.dev/terms). <!-- Your domain MUST follow the TOS to be approved. -->
- [ ] My domain is **not** for commercial use.
- [ ] My file is in the `domains` folder and is in the JSON format.
- [ ] My file's name is all lowercased and alphanumeric. <!-- Your file's name is yourname.json, not YourName.json or your_name.json. -->
- [ ] The website is **reachable**. <!-- Not needed if the domain is for emails only. -->
- [ ] I have **completed** my website. <!-- Not needed if the domain is for emails only. -->
- [ ] My website is related to **software development**.
- [ ] I have provided contact information in the `owner` key. <!-- Provide your email in the `email` field or another platform (e.g., X, Discord) for contact. -->
- [ ] I have **followed** the [documentation](https://docs.is-a.dev).
- [ ] I understand my domain may be removed if I violate the [Terms of Service](https://is-a.dev/terms).
- [ ] The file is in the `domains` folder and is in the JSON format.
- [ ] The file's name is all lowercased and alphanumeric. <!-- Your file's name is yourname.json, not YourName.json or your_name.json. -->
- [ ] You have completed your website. <!-- This is not required if the domain you're registering is for emails. -->
- [ ] The website is reachable. <!-- This is not required if the domain you're registering is for emails. -->
- [ ] The CNAME record doesn't contain `https://` or `/`. <!-- This is not required if you are not using a CNAME record. -->
- [ ] There is sufficient information at the `owner` field. <!-- You need to have your email presented at `email` field. If you don't want to provide your email for any reason, you can specify another social platform (e.g. Twitter) so we can contact you. -->
## Website Link/Preview
<!-- Please provide a link or preview of your website below. If you can't make the website visible, then an image of the website is also fine! -->
## Website Preview
<!-- Provide a link or preview of your website below. If you can't make the website visible, then a screenshot of the website also works. -->
+10
View File
@@ -0,0 +1,10 @@
{
"owner": {
"username": "naman-0804",
"email": "namansrivastava1608@gmail.com",
"discord": "naman_1101"
},
"record": {
"TXT": "vc-domain-verify=namansrivastava.is-a.dev,7b128b70cd9aae28bf1c"
}
}
+14 -2
View File
@@ -1,9 +1,21 @@
{
"owner": {
"username": "PentSec",
"email": "jeffreysfu@gmail.com"
"email": "pentsec.2@protonmail.com"
},
"record": {
"CNAME": "pentsec.github.io"
}
},
"redirect_config": {
"custom_paths": {
"/gh": "https://github.com/PentSec",
"/dc": "https://discord.com/users/284896471210393600",
"/x": "https://x.com/__J3ff_",
"/bsky": "https://sitoz.bsky.social",
"/tw": "https://twitch.tv/Sitoz1",
"/kick": "https://kick.com/Sitoz1",
"/ig": "https://www.instagram.com/jeffreysfuenmayor_"
}
},
"proxied": true
}
+8 -9
View File
@@ -1,11 +1,10 @@
{
"description": "Naman's personal developer website",
"repo": "https://github.com/naman-0804/Portfolio-Naman",
"owner": {
"username": "naman-0804",
"email": "namansrivastava1608@gmail.com"
},
"record": {
"CNAME": "naman08portfolio.vercel.app"
}
"owner": {
"username": "naman-0804",
"email": "namansrivastava1608@gmail.com",
"discord": "naman_1101"
},
"record": {
"CNAME": "naman08portfolio.vercel.app"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"owner": {
"username": "is-a-dev",
"email": "admin@is-a.dev"
},
"record": {
"URL": "https://raw-api.is-a.dev"
}
}
+7 -1
View File
@@ -267,7 +267,13 @@ t("All files should have valid record types", (t) => {
);
}
if (data.redirect_config) {
t.true(recordKeys.includes("URL"), `${file}: Redirect config must be combined with a URL record`);
t.true(
recordKeys.includes("URL") || data.proxied,
`${file}: Redirect config must be combined with a URL record or the domain must be proxied`
);
if (data.redirect_config.redirect_paths) {
t.true(recordKeys.includes("URL"), `${file}: redirect_config.redirect_paths requires a URL record`);
}
}
validateRecordValues(t, data, file);