fxbox / iron-cors Goto Github PK
View Code? Open in Web Editor NEWHelper to add CORS to a Iron server
Helper to add CORS to a Iron server
We should write documentation for this plugin as could be useful for many projects not just foxbox related.
11:36 PM fabrice: does CORS really work for you on the latest master? Looks like macroses in taxonomy router should be updated as well to allow OPTIONS
11:39 PM <•fabrice> azasypkin: CORS setup is in https_server.rs
11:39 PM azasypkin: I'm too lazy to authenticate so I just disable it at build time
11:39 PM fabrice: yeah, but it wasn't enough even for previous router - it always returned OK response on OPTIONS
11:40 PM inside service_router
11:40 PM <•fabrice> azasypkin: so how did we fix the previous one?
11:40 PM fabrice: https://github.com/fxbox/foxbox/blob/master/src/service_router.rs#L41-L44
11:40 PM <•fabrice> azasypkin: they both use https://github.com/fxbox/iron-cors/
11:41 PM <•fabrice> oh
11:41 PM <•fabrice> this CORS stuff is all over the place :(
11:41 PM yeah, it should be only in a single place
This should allow to have all the CORS stuff managed by iron-cors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.