-
Notifications
You must be signed in to change notification settings - Fork 4
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
Optionally respond with CORS headers #27
Conversation
Good job, thanks for the PR. Only two things before I merge: could you also add a test in Once that's done, I'll merge and release |
Thanks! Merged. |
Awesome, thanks. Aliv has been very useful in our development environment :) |
I was just about to switch back to the npm version and saw that you haven't published 1.5 - are you planning additional changes? |
Nope, having problems with the publish.
|
Good times... It looks like you are on Windows, so perhaps it is this issue nodejs/node#9542? What version of Node are you using? If it is that issue, it looks like the fix is to upgrade to a newer version of Node. |
Yeah, that was the issue. I had Node Thanks once again, now it's published on npm! |
I am developing an application that runs on dynamic hostnames and needed to respond with CORS headers for static content. The new method adds headers to the response that allow the content to be loaded in the browser.