[plugins.c9.vfs.standalone] use current hostname for preview vfs-target

pull/467/head
das7pad 2017-11-12 13:06:22 +01:00
rodzic dc82e06477
commit d85d57ea9b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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()