gitpod-io / openvscode-server

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
https://www.gitpod.io/
MIT License
4.84k stars 423 forks source link

Spread `originalConfig` rather than reconstructing it #524

Closed jeremie-stripe closed 10 months ago

jeremie-stripe commented 10 months ago

Instead of reconstructing a whole new object, spread the original one in and only override the one item that's important aka remoteAuthority.

This avoids a problem where certain construction options set by the server (like enableWorkspaceTrust) would be lost.