diff --git a/config/example.json b/config/example.json index 0314861..e531aaf 100644 --- a/config/example.json +++ b/config/example.json @@ -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/" diff --git a/config/testing.json b/config/testing.json index 09edd88..28709e1 100644 --- a/config/testing.json +++ b/config/testing.json @@ -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/" diff --git a/tests/sockii-test.coffee b/tests/sockii-test.coffee index 60c832a..f7cc34d 100644 --- a/tests/sockii-test.coffee +++ b/tests/sockii-test.coffee @@ -167,7 +167,7 @@ vows.describe('HTTP Requests').addBatch( (error, response, body) -> assert.equal response.statusCode, 405 - "cloud -": + "monkeys -": topic: -> data = apiCredentials: 'test'