mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-09-08 06:17:23 +00:00
Removes alias type from docs
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user