Closed testower closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 68.63%. Comparing base (
ef530a6
) to head (0177051
). Report is 24 commits behind head on dev-2.x.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
As agreed with the dev team, this only needs a single reviewer.
Debug client is broken if VITE_API_URL is a relative path (which it is by default). This is due to a breaking change in v7.0.0 of graphql-request, which I overlooked when approving the upgrade: https://github.com/jasonkuhrt/graphql-request/releases/tag/7.0.0
This PR checks validity of VITE_API_URL by passing it to the URL constructor. If exception is thrown, we prefix it with the window's origin (which used to be the default behavior).
I still need to test this PRTested locally.