mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
docs(help) comments: multiline -> one line
This commit is contained in:
parent
4a78738b2a
commit
da25d21898
2 changed files with 10 additions and 10 deletions
10
HELP.md
10
HELP.md
|
|
@ -486,7 +486,7 @@ const socket = io.listen(server, {
|
|||
});
|
||||
|
||||
const config = {
|
||||
prefix /* base URL or function which returns base URL (optional) */
|
||||
prefix // base URL or function which returns base URL (optional)
|
||||
};
|
||||
|
||||
const plugins = [
|
||||
|
|
@ -507,10 +507,10 @@ const modules = {
|
|||
};
|
||||
|
||||
app.use(cloudcmd({
|
||||
socket, /* used by Config, Edit (optional) and Console (required) */
|
||||
config, /* config data (optional) */
|
||||
plugins, /* optional */
|
||||
modules, /* optional */
|
||||
socket, // used by Config, Edit (optional) and Console (required)
|
||||
config, // config data (optional)
|
||||
plugins, // optional
|
||||
modules, // optional
|
||||
}));
|
||||
|
||||
server.listen(port);
|
||||
|
|
|
|||
10
README.md
10
README.md
|
|
@ -90,7 +90,7 @@ const socket = io.listen(server, {
|
|||
});
|
||||
|
||||
const config = {
|
||||
prefix /* base URL or function which returns base URL (optional) */
|
||||
prefix // base URL or function which returns base URL (optional)
|
||||
};
|
||||
|
||||
const plugins = [
|
||||
|
|
@ -111,10 +111,10 @@ const modules = {
|
|||
};
|
||||
|
||||
app.use(cloudcmd({
|
||||
socket, /* used by Config, Edit (optional) and Console (required) */
|
||||
config, /* config data (optional) */
|
||||
plugins, /* optional */
|
||||
modules, /* optional */
|
||||
socket, // used by Config, Edit (optional) and Console (required)
|
||||
config, // config data (optional)
|
||||
plugins, // optional
|
||||
modules, // optional
|
||||
}));
|
||||
|
||||
server.listen(port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue