This PR replaces the baked-in Access-Control-Allow-Origin: * header with a CORS middleware that can handle more complex negotiation stuff (if requested by a client) without affecting the existing behavior of API responses. Hopefully this can provide better feedback to users experiencing the issue described in #146.
This PR also updates express to the latest minor version and removes an unused dependency declaration on the async library.
This PR replaces the baked-in
Access-Control-Allow-Origin: *
header with a CORS middleware that can handle more complex negotiation stuff (if requested by a client) without affecting the existing behavior of API responses. Hopefully this can provide better feedback to users experiencing the issue described in #146.This PR also updates express to the latest minor version and removes an unused dependency declaration on the
async
library.