FredericHeem/starhackit

View on GitHub
server/docs/Cors.md

Summary

Maintainability
Test Coverage
## CORS
[Cross-origin resource sharing](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) is implemented with the *koa* middleware [kcors](https://github.com/koajs/cors)

See [kors options](https://github.com/koajs/cors#corsoptions) for the list of all options.

Here is a typical configuration:

```
"cors":{
  "credentials": true
},
```