modified index.js    - fix typo (post -> chat)    - add router params 'chat'    - add router to /chats/:id
modified index.js
   - fix typo (post -> chat)
   - add router params 'chat'
   - add router to /chats/:id

BCSDLab/Community,BCSDLab/Community