From 87895ab94642958179646fe8e59bd9ad9d3e52a2 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 28 Oct 2016 20:57:57 +0300 Subject: [PATCH] docs(readme) Using as middleware: quotes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 82288687..bdbc1cf8 100644 --- a/README.md +++ b/README.md @@ -82,12 +82,12 @@ const prefix = '/cloudcmd'; const server = http.createServer(app); const socket = io.listen(server, { - path: `${prefix}/socket.io' + path: `${prefix}/socket.io` }); const config = { prefix /* base URL or function which returns base URL (optional) */ -} +}; app.use(cloudcmd({ socket, /* used by Config, Edit (optional) and Console (required) */