|
|
@ -20,6 +20,7 @@ var canonicalizeOrigin = function (s) {
|
|
|
|
module.exports.create = function (config) {
|
|
|
|
module.exports.create = function (config) {
|
|
|
|
const Env = {
|
|
|
|
const Env = {
|
|
|
|
version: Package.version,
|
|
|
|
version: Package.version,
|
|
|
|
|
|
|
|
installMethod: config.installMethod || undefined,
|
|
|
|
|
|
|
|
|
|
|
|
httpUnsafeOrigin: canonicalizeOrigin(config.httpUnsafeOrigin),
|
|
|
|
httpUnsafeOrigin: canonicalizeOrigin(config.httpUnsafeOrigin),
|
|
|
|
httpSafeOrigin: canonicalizeOrigin(config.httpSafeOrigin),
|
|
|
|
httpSafeOrigin: canonicalizeOrigin(config.httpSafeOrigin),
|
|
|
|