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

Detect whether or not URL is recognized by router #5

Open
SYU15 opened this issue Jul 12, 2020 · 0 comments
Open

Detect whether or not URL is recognized by router #5

SYU15 opened this issue Jul 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@SYU15
Copy link
Member

SYU15 commented Jul 12, 2020

A function that does this:

  1. Check whether or not a URL has the same domain as the Ember application (insert regex/window code here)
  2. If so, then get the relative pathname and check to see if it is recognized by the router router.recognize(urlPath) and return a boolean accordingly (return value can be up for debate imo)
@SYU15 SYU15 added the enhancement New feature or request label Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant