Skip to content

Commit

Permalink
Fixed routes URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Perelló Marín committed Sep 9, 2014
1 parent ff94818 commit cec9347
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/example.json
Expand Up @@ -16,8 +16,8 @@
"changeOrigin": true
},
"routes": {
"/svc/alerts": "alerts.myapp.dev",
"/svc/users": "users.myapp.dev"
"/svc/alerts": "http://alerts.myapp.dev",
"/svc/users": "http://users.myapp.dev"
},
"wsMaps": {
"notifications": "ws://notifications.myapp.dev:8090/websockets/"
Expand Down
6 changes: 3 additions & 3 deletions config/testing.json
Expand Up @@ -14,9 +14,9 @@
"changeOrigin": true
},
"routes": {
"/svc/monkeys": "monkeys.sockii.dev:8888",
"/svc/inventory": "inventory.sockii.dev",
"/svc/users": "users.sockii.dev"
"/svc/monkeys": "http://monkeys.sockii.dev:8888",
"/svc/inventory": "http://inventory.sockii.dev",
"/svc/users": "http://users.sockii.dev"
},
"wsMaps": {
"wstest": "ws://localhost:8095/"
Expand Down
2 changes: 1 addition & 1 deletion tests/sockii-test.coffee
Expand Up @@ -167,7 +167,7 @@ vows.describe('HTTP Requests').addBatch(
(error, response, body) ->
assert.equal response.statusCode, 405

"cloud -":
"monkeys -":
topic: ->
data =
apiCredentials: 'test'
Expand Down

0 comments on commit cec9347

Please sign in to comment.