diff --git a/core/misc/drupal.js b/core/misc/drupal.js index 133321c96775aef139d31a36046a36396f97d1f8..505175db11cce86269d29447fbe75b21266045c4 100644 --- a/core/misc/drupal.js +++ b/core/misc/drupal.js @@ -454,7 +454,7 @@ if (window.jQuery) { if (protocol === 'http:' && absoluteUrl.indexOf('https:') === 0) { protocol = 'https:'; } - var baseUrl = protocol + '//' + location.host + drupalSettings.basePath.slice(0, -1); + var baseUrl = protocol + '//' + location.host + drupalSettings.path.baseUrl.slice(0, -1); // Decoding non-UTF-8 strings may throw an exception. try {