mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
docs(readme) typos in examples (#300)
Co-authored-by: j35tor <j35tor@disroot.org>
This commit is contained in:
parent
514644269c
commit
fd5b2cc6c6
1 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@ const prefix = '/';
|
|||
|
||||
const server = http.createServer(app);
|
||||
const socket = io.listen(server, {
|
||||
path: `${prefix}/socket.io`
|
||||
path: `${prefix}socket.io`
|
||||
});
|
||||
|
||||
const config = {
|
||||
|
|
@ -109,7 +109,7 @@ const {
|
|||
|
||||
const configManager = createConfigManager({
|
||||
configPath,
|
||||
}),
|
||||
});
|
||||
|
||||
app.use(prefix, cloudcmd({
|
||||
socket, // used by Config, Edit (optional) and Console (required)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue