question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't account for redirects.

See original GitHub issue

Using the library, I noticed this doesn’t account for any redirects.

For example I’m on / and goto /profile but I get redirected to /profile/hosting.

I have a back button that does goBack() which goes back to / but I’d like the link to reflect that which only reflects /profile.

If I wasn’t clear the flow should be: / -> /profile redirect to /profile/hosting -> / not / -> /profile redirect to /profile/hosting -> /profile for the to prop.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
hinokcommented, Mar 4, 2019

Hey @andrewfluck , Good point, many thanks for reporting the issue! I’ll look into it.

0reactions
rafecoltoncommented, Jul 5, 2019

@hinok thank you, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redirection after login doesn't work - WordPress.org
Enter username and password for the just created user. It never redirects me to that HOME page but I keep landing on the...
Read more >
browser settings do not allow redirecting to a new URL
Method 2: Enable the Meta Refresh option in Security settings. a. Open Internet Explorer-> Click Tools.
Read more >
How to Fix The ERR_TOO_MANY_REDIRECTS Error - Kinsta
Too many redirects occurred trying to open “domain.com.” This might occur if you open a page that is redirected to open another page...
Read more >
Solving Redirection Issues Using Rank Math SEO Plugin
To solve this problem, open the redirects and see if you could find any redirects that have the same source and destination URLs....
Read more >
The Ultimate Guide to Redirects: URL Redirections Explained
Redirects send users & search engines from one URL to another. Find out how to use each type here.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found