react-native-website icon indicating copy to clipboard operation
react-native-website copied to clipboard

[For Netlify Redirect Test] Add a fake redirect

Open lunaleaps opened this issue 1 year ago • 3 comments

See https://answers.netlify.com/t/placeholder-redirects-dont-support-periods/113543/2

Head's up I couldn't reply to that thread anymore because Netlify reported my account as spam If you try https://deploy-preview-4029--react-native.netlify.app/docs/0.72/sourcemaps this link -- the redirect fails

If anyone else can message on that thread with this PR, that will be helpful, thanks!

Edit: Actually what's even stranger is that it does work.. but just not for 0.72? Do we hardcode something for 0.72? I'm very confused

lunaleaps avatar Mar 01 '24 09:03 lunaleaps

Deploy Preview for react-native ready!

Name Link
Latest commit 77622191d65fae0252b82c9ad4e290fb7ac33c23
Latest deploy log https://app.netlify.com/sites/react-native/deploys/65e3ffd967211500091422a7
Deploy Preview https://deploy-preview-4029--react-native.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

netlify[bot] avatar Mar 01 '24 09:03 netlify[bot]

Hey @lunaleaps I'd guessed your account maybe got eaten by Netlify's fairly aggressive spam filter.

I don't work for Netlify, but your comment:

Edit: Actually what's even stranger is that it does work.. but just not for 0.72? Do we hardcode something for 0.72? I'm very confused

That aligns with what I was seeing prior to your change, and matches my own confusion. My wild guess was there was something else targeting 0.72 specifically.

knupska avatar Mar 01 '24 09:03 knupska

@knupska hey! haha yes an aggressive spam filter

Yea this is super strange since hard-coding a redirect from 0.72 also fails. It's pretty high-up on the _redirects page too. Anyway, it doesn't seem related to Netlify's placeholders and periods as I had concluded -- thanks for all your help investigating!

lunaleaps avatar Mar 01 '24 19:03 lunaleaps

Figured it out, we needed to actually delete the documentation for the redirects to match. It's not 100% consistent though which is still a mystery but unblocked!

lunaleaps avatar Mar 06 '24 16:03 lunaleaps