Before, our workaround (in the hook) would fail to pick up an executePolicy call to a serverURL with a prefix, like https://your-unified-api-gateway/opa.
Now, it'll check if it finds "/v1/data/" anywhere in the request path, and adjusts it accordingly.
It would have been nicer if we had access to the serverURL's prefix, but that's not available in the hook, as far as I can tell.
Before, our workaround (in the hook) would fail to pick up an executePolicy call to a serverURL with a prefix, like
https://your-unified-api-gateway/opa
.Now, it'll check if it finds "/v1/data/" anywhere in the request path, and adjusts it accordingly.
It would have been nicer if we had access to the serverURL's prefix, but that's not available in the hook, as far as I can tell.