Skip to content

Commit

Permalink
Conditionally include pocket dev connect url
Browse files Browse the repository at this point in the history
  • Loading branch information
maureenlholland authored and pmac committed Jan 28, 2022
1 parent 0b28ded commit 0192b33
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bedrock/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,9 +932,9 @@ def get_app_name(hostname):
FXA_ENDPOINT = config("FXA_ENDPOINT", default="https://accounts.stage.mozaws.net/" if DEV else "https://accounts.firefox.com/")

# Google Play and Apple App Store settings
from .appstores import GOOGLE_PLAY_FIREFOX_LINK_MOZILLAONLINE # noqa
from .appstores import GOOGLE_PLAY_FIREFOX_LINK_UTMS # noqa
from .appstores import (
from .appstores import GOOGLE_PLAY_FIREFOX_LINK_MOZILLAONLINE # noqa: E402, F401
from .appstores import GOOGLE_PLAY_FIREFOX_LINK_UTMS # noqa: E402, F401
from .appstores import ( # noqa: E402, F401
ADJUST_FIREFOX_URL,
ADJUST_FOCUS_URL,
ADJUST_KLAR_URL,
Expand Down Expand Up @@ -1226,9 +1226,10 @@ def get_default_gateway_linux():
"cdn.cookielaw.org",
"privacyportal.onetrust.com",
FXA_ENDPOINT,
"com-getpocket-prod1.mini.snplow.net", # Dev Pocket Snowplow
"getpocket.com", # Prod Pocket Snowplow
"getpocket.com", # Pocket Snowplow
]
if DEV:
CSP_CONNECT_SRC.append("com-getpocket-prod1.mini.snplow.net")
CSP_REPORT_ONLY = config("CSP_REPORT_ONLY", default="false", parser=bool)
CSP_REPORT_URI = config("CSP_REPORT_URI", default="") or None

Expand Down

0 comments on commit 0192b33

Please sign in to comment.