kopia lustrzana https://github.com/c9/core
Always use unpacked_helper prefix for getting worker files in unpacked mode
rodzic
e03b48023b
commit
d9df770483
|
@ -302,7 +302,9 @@ module.exports = function(options) {
|
||||||
{
|
{
|
||||||
packagePath: "plugins/c9.ide.language/language",
|
packagePath: "plugins/c9.ide.language/language",
|
||||||
workspaceDir: workspaceDir,
|
workspaceDir: workspaceDir,
|
||||||
staticPrefix: options.packed || !options.baseUrl ? staticPrefix : options.baseUrl + staticPrefix,
|
staticPrefix: options.packed
|
||||||
|
? staticPrefix
|
||||||
|
: options.ideBaseUrl + "/uph" + staticPrefix,
|
||||||
workerPrefix: options.CORSWorkerPrefix // "/static/standalone/worker"
|
workerPrefix: options.CORSWorkerPrefix // "/static/standalone/worker"
|
||||||
},
|
},
|
||||||
"plugins/c9.ide.language/keyhandler",
|
"plugins/c9.ide.language/keyhandler",
|
||||||
|
|
|
@ -14,8 +14,8 @@ function plugin(options, imports, register) {
|
||||||
var assert = require("assert");
|
var assert = require("assert");
|
||||||
var baseUrl = options.baseUrl;
|
var baseUrl = options.baseUrl;
|
||||||
var ideBaseUrl = options.ideBaseUrl;
|
var ideBaseUrl = options.ideBaseUrl;
|
||||||
assert(options.baseUrl, "baseUrl must be set");
|
assert(baseUrl, "baseUrl must be set");
|
||||||
assert(options.ideBaseUrl, "ideBaseUrl must be set");
|
assert(ideBaseUrl, "ideBaseUrl must be set");
|
||||||
|
|
||||||
var balancers = [
|
var balancers = [
|
||||||
baseUrl + "/uph",
|
baseUrl + "/uph",
|
||||||
|
|
Ładowanie…
Reference in New Issue