mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-24 13:59:27 +08:00
updated urls for deployment
This commit is contained in:
2
bin/dpd
2
bin/dpd
@@ -328,7 +328,7 @@ program
|
||||
d.package(tar, function (err) {
|
||||
if(err) return console.error(err);
|
||||
console.log('pushing...');
|
||||
d.publish('http://deploy.deploydapp.com:3003', tar, key, function (err) {
|
||||
d.publish('http://cloud.deployd.com', tar, key, function (err) {
|
||||
if(err) return console.error('failed to push:', err.message || 'could not push app to ' + DPDAPP_URL);
|
||||
console.log('deployd app to http://' + d.subdomain + '.deploydapp.com!');
|
||||
});
|
||||
|
||||
@@ -15,8 +15,8 @@ var path = require('path')
|
||||
function Deployment(appPath, user, subdomain) {
|
||||
var remote = this.remote = 'deploydapp.com';
|
||||
|
||||
this.api = "http://api.deploydapp.com:3000";
|
||||
this.deployUrl = "http://deploy.deploydapp.com:3003";
|
||||
this.api = "http://api.deployd.com";
|
||||
this.deployUrl = "http://cloud.deployd.com";
|
||||
|
||||
this.path = path.resolve(appPath);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user