mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
refactor(cloudcmd) HOME_PAGE
This commit is contained in:
parent
9167facd1a
commit
4e2631c555
1 changed files with 3 additions and 1 deletions
|
|
@ -10,6 +10,8 @@
|
|||
|
||||
Util = require(DIR_LIB + 'util'),
|
||||
|
||||
HOME_PAGE = 'General help using Cloud Commander: <{{ url }}>',
|
||||
|
||||
argv = process.argv,
|
||||
args = require('minimist')(argv.slice(2), {
|
||||
string: 'port',
|
||||
|
|
@ -65,7 +67,7 @@
|
|||
var bin = require('../json/bin'),
|
||||
usage = 'Usage: cloudcmd [options]',
|
||||
|
||||
site = Util.render('General help using Cloud Commander: <{{ url }}>', {
|
||||
site = Util.render(HOME_PAGE, {
|
||||
url: Info.homepage
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue