diff --git a/common/app/common/commercial/CommercialBundleUrlAgent.scala b/common/app/common/commercial/CommercialBundleUrlAgent.scala index 340f5277dd9e..56d5f70e35f9 100644 --- a/common/app/common/commercial/CommercialBundleUrlAgent.scala +++ b/common/app/common/commercial/CommercialBundleUrlAgent.scala @@ -17,7 +17,7 @@ object CommercialBundleUrlAgent extends GuLogging { def bundleUrl: String = s"$assetHost$bundlePath" private def getBundlePath(): String = { - "test_commercial_bundles/" + Configuration.commercial.commercialBundlePath + "test_commercial_bundles/" + Configuration.commercial.getBundlePath } def refresh(): Unit = { diff --git a/common/app/common/configuration.scala b/common/app/common/configuration.scala index 87c469221aef..924395b0cc50 100644 --- a/common/app/common/configuration.scala +++ b/common/app/common/configuration.scala @@ -521,7 +521,7 @@ class GuardianConfiguration extends GuLogging { lazy val prebidServerUrl = configuration.getStringProperty("commercial.prebid.server.url") getOrElse "http://localhost:8000" - def commercialBundlePath = configuration.getMandatoryStringProperty("commercialBundlePath") + def getBundlePath = configuration.getMandatoryStringProperty("commercial.bundlePath") } object journalism {