From 9ebb29e28e04070dc33356af5aefb1f8b026a7ce Mon Sep 17 00:00:00 2001 From: Euan Kemp Date: Sat, 4 Mar 2017 12:26:10 -0800 Subject: [PATCH] devcam/server: update default config with prefix This update the default configuration such that `devcam server` and `devcam server -hello` work again. Changes in whether prefix and listen were required on the application left both of those targets broken. The default server target was only broken briefly, when the scanning cabinet was introduced. The `server -hello` command has been broken for months. This change is a temporary one. A more proper fix is present in https://camlistore-review.googlesource.com/#/c/9206/. Once that change is merged, this commit can be reverted. Change-Id: If692760da265502fece3b981bdd34d4d5bea5690 --- config/dev-server-config.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/dev-server-config.json b/config/dev-server-config.json index 977af464d..5f910d1db 100644 --- a/config/dev-server-config.json +++ b/config/dev-server-config.json @@ -24,6 +24,8 @@ "handler": "app", "enabled": ["_env", "${CAMLI_HELLO_ENABLED}"], "handlerArgs": { + "prefix": "/hello/", + "serverListen": "localhost:3179", "program": "hello", "appConfig": { "word": "world" @@ -35,6 +37,8 @@ "handler": "app", "enabled": true, "handlerArgs": { + "prefix": "/scancab/", + "serverListen": "localhost:3179", "program": "scanningcabinet" } },