rename location to subdomain

the primary subdomain was previously called 'location'. but the alias/secondary/redirect
subdomain is called 'subdomain'. this makes it all consistent.

location terminology is now used for { subdomain, domain } pair
This commit is contained in:
Girish Ramakrishnan
2022-01-16 12:32:12 -08:00
parent 1e2f01cc69
commit e8d08968a1
11 changed files with 122 additions and 122 deletions
+2 -2
View File
@@ -94,11 +94,11 @@ describe('DNS', function () {
describe('register', function () {
it('registers subdomain', async function () {
await dns.registerLocations([ { subdomain: app.location, domain: app.domain } ], { overwriteDns: true }, (/*progress*/) => {});
await dns.registerLocations([ { subdomain: app.subdomain, domain: app.domain } ], { overwriteDns: true }, (/*progress*/) => {});
});
it('unregisters subdomain', async function () {
await dns.unregisterLocations([ { subdomain: app.location, domain: app.domain } ], (/*progress*/) => {});
await dns.unregisterLocations([ { subdomain: app.subdomain, domain: app.domain } ], (/*progress*/) => {});
});
});
});