r.get() crashed when the Caddy API returned a routes array containing string elements. Added isinstance(r, dict) check and also made the match[0] traversal safer by using any() over the match list. |
||
|---|---|---|
| .. | ||
| build.sh | ||
r.get() crashed when the Caddy API returned a routes array containing string elements. Added isinstance(r, dict) check and also made the match[0] traversal safer by using any() over the match list. |
||
|---|---|---|
| .. | ||
| build.sh | ||