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

This commit is contained in:
das7pad 2017-11-12 13:06:22 +01:00
parent dc82e06477
commit d85d57ea9b

View File

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