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

Add functionality to determine which links to intercept #6

Closed
wants to merge 1 commit into from

Conversation

KwanMan
Copy link
Contributor

@KwanMan KwanMan commented Nov 9, 2017

No description provided.

@KwanMan KwanMan changed the title Add functionality to determins what links to intercept Add functionality to determine which links to intercept Dec 5, 2017

function shouldIntercept (url) {
Copy link
Contributor Author

@KwanMan KwanMan Dec 5, 2017

Choose a reason for hiding this comment

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

So the problem I have is that I use a catch all ('*') route for a 404 not found page, meaning it will always match a route

@KidkArolis
Copy link
Owner

Closing as we're improving the default interceptor to ignore # links and only intercept links that start with /. This means things like mailto: are no longer intercepted. This means we don't have a good use case for manual shouldIntercept fn override yet.

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.

None yet

2 participants