docs(readme) typos in examples (#300)

Co-authored-by: j35tor <j35tor@disroot.org>
This commit is contained in:
j35tor 2020-10-07 17:59:32 +08:00 committed by GitHub
parent 514644269c
commit fd5b2cc6c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)