Skip to content
Snippets Groups Projects
Commit 2023c4d3 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Change from /info to /api/info

parent 9b0112bb
No related branches found
No related tags found
No related merge requests found
Router = new Restivus
apiPath: '/'
useDefaultAuth: false
Router.addRoute 'info', authRequired: false,
get: -> RocketChatVersion
Api = new Restivus
useDefaultAuth: true
prettyJson: true
Api.addRoute 'info', authRequired: false,
get: -> RocketChatVersion
Api.addRoute 'version', authRequired: false,
get: ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment