mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
refactor(cloudcmd) listen: rm unused size
This commit is contained in:
parent
dae5e69f7e
commit
89efc7b4b3
1 changed files with 0 additions and 5 deletions
|
|
@ -115,28 +115,23 @@ function authCheck(socket, success) {
|
|||
}
|
||||
|
||||
function listen(prefix, socket) {
|
||||
const size = cloudfunc.MAX_SIZE;
|
||||
|
||||
prefix = getPrefix(prefix);
|
||||
|
||||
config.listen(socket, authCheck);
|
||||
|
||||
edward.listen(socket, {
|
||||
size,
|
||||
root,
|
||||
authCheck,
|
||||
prefix: prefix + '/edward',
|
||||
});
|
||||
|
||||
dword.listen(socket, {
|
||||
size,
|
||||
root,
|
||||
authCheck,
|
||||
prefix: prefix + '/dword',
|
||||
});
|
||||
|
||||
deepword.listen(socket, {
|
||||
size,
|
||||
root,
|
||||
authCheck,
|
||||
prefix: prefix + '/deepword',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue