diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-11 15:14:50 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-11 15:14:50 +0100 |
commit | dcbf115f25d53a59f6939339b30c1141029c82c0 (patch) | |
tree | 624646dc67879dbd1ea5b1d27c5f29aaed1a298b /bin/platform.js | |
parent | 668f2f9e2cab061d0dc4d73c321f55de27bbbbd3 (diff) | |
download | gitbook-dcbf115f25d53a59f6939339b30c1141029c82c0.zip gitbook-dcbf115f25d53a59f6939339b30c1141029c82c0.tar.gz gitbook-dcbf115f25d53a59f6939339b30c1141029c82c0.tar.bz2 |
Adapt platform command to gitbook.com
Diffstat (limited to 'bin/platform.js')
-rw-r--r-- | bin/platform.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/platform.js b/bin/platform.js index 6bf0b94..35d581d 100644 --- a/bin/platform.js +++ b/bin/platform.js @@ -12,7 +12,7 @@ var publish = function(folder) { console.log(out.stdout); }, function(err) { if (err.code == 128) { - console.log("No book on gitbook.io is configured with this git repository."); + console.log("No book on gitbook.com is configured with this git repository."); console.log("Run 'gitbook git:remote username/book' to intialize this repository."); } else { console.log(err.message); @@ -27,7 +27,7 @@ var remote = function(folder, bookId) { return process.exit(-1); } - var url = "https://push.gitbook.io/"+bookId+".git"; + var url = "https://git.gitbook.com/"+bookId+".git"; var addRemote = function() { return utils.gitCmd("remote", ["add", "gitbook", url]); } |