Removes alias type from docs

This commit is contained in:
Akshay Nair
2020-10-12 00:01:25 +05:30
parent d7d2ee6ef4
commit 512c20ac9f
2 changed files with 3 additions and 5 deletions
+3 -4
View File
@@ -63,12 +63,11 @@ This is a link to your website repository or your github account. This is purely
### record (required)
This is where you specify how you want to link to your server/webpage.
Currently, only `CNAME`, `ALIAS`, `A`, `URL` record types are supported.
Currently, only `CNAME`, `A`, `URL` record types are supported.
Here's a few different use cases for the given record types -
* **CNAME/ALIAS**
Replace CNAME with ALIAS for alias record type
* **CNAME**
```json
{
"record": {
@@ -100,7 +99,7 @@ Replace CNAME with ALIAS for alias record type
}
```
* **Force HTTPS on your CNAME (or ALIAS or A) record**
* **Force HTTPS on your CNAME (or or A) record**
```json
{
"record": {
-1
View File
@@ -60,7 +60,6 @@ const validateDomainData = validate({
R.compose(R.isEmpty, R.flip(R.difference)(VALID_RECORD_TYPES), R.keys),
R.cond([
[R.prop('CNAME'), validateNameRecord('CNAME')],
[R.prop('ALIAS'), validateNameRecord('ALIAS')],
[R.prop('A'), R.propSatisfies(R.is(Array), 'A')],
[R.prop('URL'), R.propSatisfies(R.is(String), 'URL')],
[R.T, R.T],