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

Getting router routes fails on node #701

Closed
meztez opened this issue Oct 16, 2020 · 1 comment
Closed

Getting router routes fails on node #701

meztez opened this issue Oct 16, 2020 · 1 comment

Comments

@meztez
Copy link
Collaborator

meztez commented Oct 16, 2020

a <- pr()
pr_get(a, "/__swagger__/", to_route("../__docs__/"))
pr_get(a, "/__swagger__/index.html", to_route("../__docs__/index.html"))
a$routes
 Error in node[[children[1]]] <- addPath(node[[children[1]]], children[-1],  : 
  cannot add bindings to a locked environment 
>

Describe the problem in detail

Discovered while using $routes on a router with mounted redirects working on #694.

@schloerke
Copy link
Collaborator

Fixed in #702

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

No branches or pull requests

2 participants