move provisioning routes into /provision/

This commit is contained in:
Girish Ramakrishnan
2023-08-10 16:50:29 +05:30
parent 6c4aa605df
commit 57772662aa
7 changed files with 42 additions and 43 deletions

View File

@@ -143,7 +143,7 @@ function startBox(done) {
settings._setApiServerOrigin.bind(null, 'http://localhost:6060'),
function (callback) {
superagent.post(SERVER_URL + '/api/v1/cloudron/setup')
superagent.post(SERVER_URL + '/api/v1/provision/setup')
.send({ domainConfig: DOMAIN_0 })
.end(function (error, result) {
expect(result).to.be.ok();
@@ -154,7 +154,7 @@ function startBox(done) {
},
function (callback) {
superagent.post(SERVER_URL + '/api/v1/cloudron/activate')
superagent.post(SERVER_URL + '/api/v1/provision/activate')
.send({ username: USERNAME, password: PASSWORD, email: EMAIL })
.end(function (error, result) {
expect(result).to.be.ok();