Minor function change
This commit is contained in:
parent
40e2a608f6
commit
7b5476874d
3 changed files with 8 additions and 8 deletions
|
|
@ -14,11 +14,8 @@ export default function initialize(app) {
|
|||
});
|
||||
}
|
||||
|
||||
clusterClient.getSocketURL(req.params.channel).then(url => {
|
||||
res.json({
|
||||
url,
|
||||
secure: /^(https|wss)/.test(url)
|
||||
});
|
||||
clusterClient.getSocketConfig(req.params.channel).then(config => {
|
||||
res.json(config);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue