Skip to content

Commit

Permalink
namespace bundlepath
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakeii committed Dec 3, 2024
1 parent 383952d commit 9b1cf26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion common/app/common/configuration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9b1cf26

Please sign in to comment.