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
CORS support #18
Comments
Yep, it's a missing feature right now but not hard to add. Maybe iron-cors-rs. PR welcome! |
FYI this features is in progress now and will be available on next release. |
Wow, great! Thank you. I also observed some minor issue with building it on Alpine (for very lightweight docker images), but I don't understand what is the culprit. It has something to do with rust bindings to openssl. Finally, I managed to build rust-openssl with this recipe: gnzlbg/ctest#95 But even after this I couldn't succeed to build this repo on Alpine.. It's really only if you are curious, since it is possible to just use another base image. |
I didn't get it, do you want to build the whole project using Alpine? It would be interesting specially to save bytes but I have not tried it out with it. As you probably know, this project uses a relative big image which is based on |
I wanted to build Alpine just makes it a bit complicated with packaging only I think I try to build it one more time later, just to get the error message at least. |
If you intention is not to just copy the binary from the |
Super, thanks! |
v1.9.0 released. |
Actually, I realized only now that you upload Docker images of this server to Docker Hub. |
Yeah, since the first version. Makes more sense because I use it to serve several sites in production. Enjoy it! |
I could be wrong, but it seems that this server doesn't support CORS out-of-the-box.
My guess is that it should be relatively simple to implement it with usage
iron-cors
.The text was updated successfully, but these errors were encountered: