Skip to content

Prevent SW from navigating to proxied routes - #870

Merged
No767 merged 2 commits into
react-rewritefrom
deny-sw-from-nginx-routes
Aug 29, 2026
Merged

Prevent SW from navigating to proxied routes#870
No767 merged 2 commits into
react-rewritefrom
deny-sw-from-nginx-routes

Conversation

@No767

@No767 No767 commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

The SW would basically navigate to routes that we utilize within our nginx config, or even in prod. So we just add them here to prevent that from happening. I don't think this would be an issue for prod, as you could still download the images via curl/wget

Types of changes

What types of changes does your code introduce to the UC Merced's ACM Chapter Website?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (Updates to README.md, the documentation, etc)
  • Other (if none of the other choices apply)

Checklist

Put an x in the boxes that apply

  • If code changes were made then they have been tested.
  • All workflows pass with my new changes
  • This PR does not address a duplicate issue or PR

@netlify

netlify Bot commented Aug 29, 2026

Copy link
Copy Markdown

Deploy Preview for ucmacm ready!

Name Link
🔨 Latest commit 313417c
🔍 Latest deploy log https://app.netlify.com/projects/ucmacm/deploys/6a92aa1408572200082376ae
😎 Deploy Preview https://deploy-preview-870--ucmacm.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 84
Accessibility: 97
Best Practices: 92
SEO: 83
PWA: 100
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud

Copy link
Copy Markdown

@No767
No767 merged commit 66bb5b0 into react-rewrite Aug 29, 2026
10 checks passed
@No767
No767 deleted the deny-sw-from-nginx-routes branch August 29, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant