From d85d57ea9b7a32983e53df74e1830cd78480ea2f Mon Sep 17 00:00:00 2001 From: das7pad Date: Sun, 12 Nov 2017 13:06:22 +0100 Subject: [PATCH] [plugins.c9.vfs.standalone] use current hostname for preview vfs-target --- plugins/c9.vfs.standalone/standalone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/c9.vfs.standalone/standalone.js b/plugins/c9.vfs.standalone/standalone.js index 48955e9e..8cf365fb 100644 --- a/plugins/c9.vfs.standalone/standalone.js +++ b/plugins/c9.vfs.standalone/standalone.js @@ -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()