-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy all Nuxt API requests #3673
Conversation
b23b62b
to
9fa5927
Compare
9f888cc
to
ec27d5b
Compare
Use har for audio tests to prevent provider requests and flakiness Convert ui cookies for ease of use Move analytics tests from unit tests to e2e tests Disable buttons until hydrated Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Use har for audio tests to prevent provider requests and flakiness Convert ui cookies for ease of use Move analytics tests from unit tests to e2e tests Disable buttons until hydrated Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
ec27d5b
to
99e203d
Compare
82c9f32
to
46fd0e2
Compare
Signed-off-by: Olga Bulat <obulat@gmail.com>
46fd0e2
to
e2cbcea
Compare
Signed-off-by: Olga Bulat <obulat@gmail.com>
e2cbcea
to
23d924c
Compare
Signed-off-by: Olga Bulat <obulat@gmail.com>
Use har for audio tests to prevent provider requests and flakiness Convert ui cookies for ease of use Move analytics tests from unit tests to e2e tests Disable buttons until hydrated Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
Signed-off-by: Olga Bulat <obulat@gmail.com>
23d924c
to
9706b41
Compare
Playwright failure test results: https://github.com/WordPress/openverse/actions/runs/7570607952 It looks like some of the Playwright tests failed. You can download the trace output and image diffs for the failed tests under the "Artifacts" section in the above page. You can read the docs on how to use this artifact. If the test is flaky, follow the flaky test triage procedure. |
3a20750
to
f5bead0
Compare
Closing this PR because I merged these changes into |
Fixes
Fixes #3473 by @sarayourfriend
Description
This PR uses a Nuxt server route to proxy all of the API requests.
This means that all of the requests from Nuxt will be using the correct user-agent, not only the initial server requests.
TODO:
Figure out the error types now that we've moved away from
axios
toofetch
(already used by Nuxt internally)Testing Instructions
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin