Skip to content

Commit

Permalink
default pinboard feature switch to ON in all envs (and remove previou…
Browse files Browse the repository at this point in the history
…s stage specific default) following release of guardian/pinboard#312
  • Loading branch information
twrichards committed Nov 25, 2024
1 parent d5b1f2e commit dfe5004
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/controllers/V2App.scala
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ class V2App(
isDev,
maybePinboardUrl = pinboardPermission match {
case AccessGranted
if config.environment.stage != "prod" || maybePinboardFeatureSwitch
.exists(_.enabled) =>
if maybePinboardFeatureSwitch.exists(_.enabled) =>
Some(
s"https://pinboard.${config.environment.correspondingToolsDomainSuffix}/pinboard.loader.js"
)
Expand Down
2 changes: 1 addition & 1 deletion app/model/FeatureSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object PinboardIntegration
extends FeatureSwitch(
key = "pinboard",
title = "Enable Pinboard integration",
enabled = false
enabled = true
)

object FeatureSwitches {
Expand Down

0 comments on commit dfe5004

Please sign in to comment.