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
This commit is contained in:
Euan Kemp 2017-03-04 12:26:10 -08:00
parent 1951498e63
commit 9ebb29e28e
1 changed files with 4 additions and 0 deletions

View File

@ -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"
}
},