Commit 0217bea
fix(templates): declare allowedHosts for http-client outbound demo
On wash 2.5.x, a project with no `workload:` block resolves to an
empty ResolvedWorkload and the runtime is fail-closed on empty
`allowedHosts`, so the http-client template's demo flow fails with
HttpRequestDenied out of the box. Declare `httpbin.org` (the default
target) in `workload.allowedHosts` and add a README note pointing
users at the list so they can add their own overrides.
Signed-off-by: Eric Gregory <eric@cosmonic.com>1 parent 9a31045 commit 0217bea
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
0 commit comments