We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've tried this.get("**.", this.passthrough); but didn't worked. How we can pass through every url requested after a bunch of uniques. for example
this.get("**.", this.passthrough);
this.get(`${apiBaseUrl}/data/`, function(request) { var data = require("./data.json"); return [200, { "Content-Type": "application/json" }, JSON.stringify(data)]; }); this.get("**", this.passthrough);
API not matching first rule should pass through to real API call, how i can do that.
The text was updated successfully, but these errors were encountered:
@priyanshujain this.get("*path", this.passthrough) should work.
this.get("*path", this.passthrough)
You can read more about Star segments on the Route Recognizer Github
Star segments
Sorry, something went wrong.
route-recognizer and #238 can pretty much support any selection need for passthrough
No branches or pull requests
I've tried
this.get("**.", this.passthrough);
but didn't worked.How we can pass through every url requested after a bunch of uniques.
for example
API not matching first rule should pass through to real API call, how i can do that.
The text was updated successfully, but these errors were encountered: