diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gitbook.js | 2 | ||||
-rw-r--r-- | bin/platform.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/gitbook.js b/bin/gitbook.js index 80d139f..856d3e3 100755 --- a/bin/gitbook.js +++ b/bin/gitbook.js @@ -139,7 +139,7 @@ prog prog .command('publish [source_dir]') -.description('Publish content to the associated gitbook.io book') +.description('Publish content to the associated gitbook.com book') .action(action(function(dir) { dir = dir || process.cwd(); return platform.publish(dir); 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]); } |