Comments (21)
@vhpoet https://github.com/kunyan/koa-cors/tree/next
from koa-cors.
It would be great to get @kunyan's change published to npm as koa-cors@next. What is the next step?
from koa-cors.
@evert0n, could you push the new patch when you get a spare few mins please? @kunyan's instructions for loading @next
are working well, but it'd be good to have an official NPM release.
from koa-cors.
Guys, you can use CORS from main organization https://github.com/koajs/cors.
from koa-cors.
I check it out this weekend guys, I will also catch up with the other issues too, Thank you
from koa-cors.
@evert0n - any update to this? thanks!
from koa-cors.
@evert0n can you checkout a new branch named "next". and I will create a PR to it.
then you can publish a new package to npm. the user could use npm install koa-cors@next
to download it
I think this way will be better.
from koa-cors.
pls use this until @evert0n push new patch
"koa-cors": "git+https://[email protected]/kunyan/koa-cors.git#next",
from koa-cors.
@kunyan are you planning on making a PR?
from koa-cors.
@vhpoet I can't push a new branch to upstream :(
from koa-cors.
@kunyan can you publish this as a module, perhaps koa-cors-next ?
from koa-cors.
Just in time for the arrival of native async..await
in Node v7.
from koa-cors.
exactly. one more thing we don't have to have babel transpile
from koa-cors.
@evert0n - hey, is there any possible update to this?
from koa-cors.
What's needed to get @kunyan's changes into an official release? Would be nice to get rid of the deprec warning. :) Thanks!
from koa-cors.
@kunyan @evert0n how about a pull request with @kunyan's changes?
from koa-cors.
Until this gets merged, you can use https://github.com/th507/koa-adapter to get rid of the deprecation warning.
from koa-cors.
hi @evert0n I was wondering if you were planning on merging the pull request from @kunyan. Thank you both for creating this!
from koa-cors.
Hi @evert0n would you be open to having someone else help maintain this library?
from koa-cors.
@bradleyayers why not just use the module maintained by the project? https://github.com/koajs/cors
from koa-cors.
@shellscape that's a great q.. I can't remember why I didn't personally use it, but I vaguely remember being some reason. I should probably take a second look at it. thanks for the tip.
from koa-cors.
Related Issues (20)
- errors when passing origin as option HOT 1
- Chrome content-type on POST HOT 5
- Cors headers on non OPTIONS HOT 2
- handling errors HOT 4
- 'settings' should be immutable HOT 1
- Add "Vary: Origin" to response when the server specifies an origin host rather than "*" HOT 2
- Accept a whitelist of origins? HOT 3
- expose PATCH by default HOT 7
- Add setting to yield next on OPTION request HOT 4
- Canβt get CORS working with KOA
- Getting request origin within the origin function HOT 1
- overrides Access-Control-Allow-Methods
- with koa static page serving HOT 2
- Is it possible to declare multiple origins to allow? HOT 1
- methods option doesn't work in v2? HOT 1
- Support Typescript @types HOT 6
- Headers not sent on throw HOT 1
- Hi, Does this project is still maintained? HOT 2
- Should CORS be abandoned?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koa-cors.