@soundworks/core
Advanced tools
Comparing version 3.0.3 to 3.0.4
{ | ||
"name": "@soundworks/core", | ||
"version": "3.0.3", | ||
"version": "3.0.4", | ||
"description": "full-stack javascript framework for distributed audio visual experiences on the web", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -251,5 +251,10 @@ "use strict"; | ||
if (!this.config.env.assetsDomain && this.config.env.subpath) { | ||
if (!this.config.env.assetsDomain && this.config.env.subpath !== undefined) { | ||
const subpath = this.config.env.subpath.replace(/^\//, '').replace(/\/$/, ''); | ||
this.config.env.assetsDomain = `/${subpath}/`; | ||
if (subpath) { | ||
this.config.env.assetsDomain = `/${subpath}/`; | ||
} else { | ||
this.config.env.assetsDomain = `/`; | ||
} | ||
} | ||
@@ -256,0 +261,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
131288
3297