Open branflake2267 opened 7 years ago
I run into this configuration often and see it when visiting enterprise customers where they test on a VM with the apps are on a custom server configuration. This is only one issue, SSL is another. I'm going to look at writing a hack for this.
Incomplete proposed patch: https://gwt-review.googlesource.com/#/c/17180/
I take that back, the above patch should work correctly.
Using the code server with launcherDir that points to a remote server with different ip will not work.
CodeServer -launcherDir /Volumes/C/inetpub/wwwroot com.example.project.Sandbox
This is because the code server will launch on ip localhost, and the SDM project.nocache.js script uses
var hostName = $wnd.location.hostname;
which doesn't point at the codeserver, it instead points to the remote server with port 9867. The workaround is to proxy back the requests.Example Configuration
CodeServer -launcherDir /Volumes/C/inetpub/wwwroot com.example.project.Sandbox