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

Attach the directory to serve from to the request map #27

Open
damonkelley opened this issue Sep 7, 2016 · 0 comments
Open

Attach the directory to serve from to the request map #27

damonkelley opened this issue Sep 7, 2016 · 0 comments

Comments

@damonkelley
Copy link
Owner

Instead creating anonymous functions inside of the router, add the directory to the request. The handlers can access it by pulling it off of the map.

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

1 participant