isProxiedPath reports whether a request should be forwarded to the control plane rather than served from the local static dir.
(p string)
| 222 | if err != nil { |
| 223 | return "" |
| 224 | } |
| 225 | return strings.TrimSpace(string(out)) |
| 226 | } |
| 227 | |
| 228 | // isProxiedPath reports whether a request should be forwarded to the control |
| 229 | // plane rather than served from the local static dir. |