Skip to content

Commit

Permalink
Update to have two templates
Browse files Browse the repository at this point in the history
  • Loading branch information
johnli-codaio committed Jan 4, 2023
1 parent 4b4e6c6 commit e1baace
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 31 deletions.
37 changes: 37 additions & 0 deletions coda.io.apexdomain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"providerId":"coda.io",
"providerName":"Coda",
"serviceId":"apexdomain",
"serviceName":"Coda Site",
"version": 1,
"syncPubKeyDomain" : "coda.io",
"logoUrl":"https://cdn.coda.io/icons/png/color/coda-192.png",
"description":"Allows serving Coda documents from your own domain (apex only).",
"variableDescription":"`ipAddress[1, 2, 3]` refers to the IP addresses of Coda's custom domain server. `docId` refers to the coda document. `environment` refers to the environment for Coda's custom domain server. `docId` refers to the coda document used for custom domain. `verification` refers to the TXT verification of doc ownership",
"records":[
{
"type":"A",
"host":"@",
"pointsTo":"%ipAddress1",
"ttl":3600
},
{
"type":"A",
"host":"@",
"pointsTo":"%ipAddress2",
"ttl":3600
},
{
"type":"A",
"host":"@",
"pointsTo":"%ipAddress3",
"ttl":3600
},
{
"type": "TXT",
"host": "_coda",
"data": "%verification%",
"ttl":3600
}
]
}
25 changes: 25 additions & 0 deletions coda.io.subdomain.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"providerId":"coda.io",
"providerName":"Coda",
"serviceId":"subdomain",
"serviceName":"Coda Site",
"version": 1,
"syncPubKeyDomain" : "coda.io",
"logoUrl":"https://cdn.coda.io/icons/png/color/coda-192.png",
"description":"Allows serving Coda documents from your own domain (subdomain only)",
"variableDescription":"`subdomain` refers to the subdomain that the user wishes to use (not just limited to 'www'). `environment` refers to the environment for Coda's custom domain server. `docId` refers to the coda document used for custom domain. `verification` refers to the TXT verification of doc ownership",
"records":[
{
"type":"CNAME",
"host":"%subdomain%",
"pointsTo":"%environment%.coda.io",
"ttl":3600
},
{
"type": "TXT",
"host": "_coda.%subdomain%",
"data": "%verification%",
"ttl":3600
}
]
}
31 changes: 0 additions & 31 deletions coda.io.website.json

This file was deleted.

0 comments on commit e1baace

Please sign in to comment.