ultimate-jekyll-manager 0.0.187 → 0.0.188
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -151,8 +151,8 @@ const createCustomAd = ($vertUnit, config) => {
|
|
|
151
151
|
const iframeId = `vert-${window.__ujVertIdCounter = (window.__ujVertIdCounter || 0) + 1}`;
|
|
152
152
|
|
|
153
153
|
// Build base URL for the ad content
|
|
154
|
-
// Use local server if debug=true OR if we're in development mode
|
|
155
|
-
const baseURL = (qsDebug || webManager.isDevelopment())
|
|
154
|
+
// Use local server if debug=true OR if we're in development mode AND on promo-server
|
|
155
|
+
const baseURL = (qsDebug || (webManager.isDevelopment() && webManager.config.brand.id === 'promo-server'))
|
|
156
156
|
? `${window.location.protocol}//${window.location.host}/verts/main`
|
|
157
157
|
: 'https://promo-server.itwcreativeworks.com/verts/main';
|
|
158
158
|
|