Skip to content
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

ui: updating nginx routing rule for userfiles (PROJQUAY-6841) #2735

Merged
merged 1 commit into from Mar 11, 2024

Conversation

bcaton85
Copy link
Contributor

@bcaton85 bcaton85 commented Mar 7, 2024

Upload of dockerfile for dockerfile builds currently hits the /userfiles/<id> endpoint in certain scenarios. From the new UI this routes to the react index.html resulting in a 405 method not found. This change routes all paths matching ^/userfiles/(.*) to the API.

Copy link
Member

@ibazulic ibazulic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.90%. Comparing base (d2a1fed) to head (469ddb5).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2735      +/-   ##
==========================================
- Coverage   70.90%   70.90%   -0.01%     
==========================================
  Files         436      436              
  Lines       40597    40596       -1     
  Branches     5285     5285              
==========================================
- Hits        28784    28783       -1     
- Misses      10139    10141       +2     
+ Partials     1674     1672       -2     
Flag Coverage Δ
unit 70.90% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bcaton85 bcaton85 merged commit 2c11f0d into quay:master Mar 11, 2024
19 checks passed
@bcaton85
Copy link
Contributor Author

/cherry-pick redhat-3.11

@openshift-cherrypick-robot

@bcaton85: new pull request created: #2744

In response to this:

/cherry-pick redhat-3.11

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

ibazulic pushed a commit to ibazulic/quay that referenced this pull request Mar 12, 2024
)

Updating nginx routing rule to correctly route `^/userfiles/` paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants