gcp-storage-emulator
gcp-storage-emulator copied to clipboard
Feature request: Example of how to implement with CORS and SSL via docker
This is the use case I'm trying to implement now and I'm struggling to get a CORS hit on an upload request from a separate dockerized node application to connect with the GCP emulator container.
If I'm reading the errors I get locally correctly, I believe this may require that the server here support a preflight OPTIONS request.
I just ran into this too. The server needs to respond to OPTIONS with a Access-Control-Allow-Origin.
I've been traveling lately so I haven't really followed what's going on in GitHub, but this seems like a good idea. There are some minor style issues on the pull request, but otherwise it looks good to me.