typicode / hotel

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
9.97k stars 426 forks source link

Allow overwriting CORS headers for remote server proxies #368

Open entropitor opened 3 years ago

entropitor commented 3 years ago

When using https://github.com/typicode/hotel#proxy-requests-to-remote-servers, it would be nice if response cors headers could be overwritten from the config, to allow CORS requests to the local proxy.

This allows strict production CORS configs while still allowing developers to work against a staging / production server