kopia lustrzana https://github.com/c9/core
[plugins.c9.vfs.standalone] use current hostname for preview vfs-target
rodzic
dc82e06477
commit
d85d57ea9b
|
@ -142,7 +142,7 @@ function plugin(options, imports, register) {
|
|||
},
|
||||
previewHandler.getProxyUrl(function() {
|
||||
return {
|
||||
url: "http://localhost:" + options.options.port + "/vfs"
|
||||
url: "http://" + options.options.host + ":" + options.options.port + "/vfs"
|
||||
};
|
||||
}),
|
||||
previewHandler.proxyCall()
|
||||
|
|
Ładowanie…
Reference in New Issue