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

Fixed for Koajs #163

Merged
merged 4 commits into from
Sep 23, 2016
Merged

Fixed for Koajs #163

merged 4 commits into from
Sep 23, 2016

Conversation

basickarl
Copy link
Contributor

Fixed a tmp solution for working with Koajs.

@basickarl
Copy link
Contributor Author

#161

@patrick-steele-idem
Copy link
Contributor

Part of me wonders if we should export a separate set of middleware for koa to be a little more future proof:

require('lasso/middleware/koa').serveStatic();

Thoughts?

@basickarl
Copy link
Contributor Author

@patrick-steele-idem I do think that is wise. Since Koa and Express seem to be taking different paths and would seem less messy code wise.

require('lasso/middleware/koa').serveStatic();

Sounds good!

@patrick-steele-idem
Copy link
Contributor

Great. Do you mind updating your PR to go that route? Thanks!

@basickarl
Copy link
Contributor Author

@patrick-steele-idem There we go, fixed. Also updated version of Lasso to 2.5.9.

@patrick-steele-idem patrick-steele-idem merged commit f2ca317 into lasso-js:master Sep 23, 2016
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.

2 participants