fix language worker regression in standalone mode

pull/117/merge
nightwing 2015-07-08 16:07:20 +04:00
rodzic 453bf325c9
commit f531a9ce9b
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -302,9 +302,9 @@ module.exports = function(options) {
{
packagePath: "plugins/c9.ide.language/language",
workspaceDir: workspaceDir,
staticPrefix: options.packed
? staticPrefix
: options.ideBaseUrl + "/uph" + staticPrefix,
staticPrefix: hosted && !options.packed
? options.ideBaseUrl + "/uph" + staticPrefix
: staticPrefix,
workerPrefix: options.CORSWorkerPrefix // "/static/standalone/worker"
},
"plugins/c9.ide.language/keyhandler",