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:
@@ -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*/) => {});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user