Fix variable name in spawn function. Added working with json, upload examples and install&configuration documentation
This commit is contained in:
@@ -44,7 +44,7 @@ func Spawn(h *model.Handler, out io.Writer) error {
|
||||
if out != nil {
|
||||
cmd.Stdout = out
|
||||
}
|
||||
cmd.Env = append(os.Environ(), "KAPOW_URL=http://localhost:8081")
|
||||
cmd.Env = append(os.Environ(), "KAPOW_DATA_URL=http://localhost:8082")
|
||||
cmd.Env = append(cmd.Env, "KAPOW_HANDLER_ID="+h.ID)
|
||||
|
||||
err = cmd.Run()
|
||||
|
||||
Reference in New Issue
Block a user