Browse Source

Fix for review

pull/471/head
msansen1 4 years ago
parent
commit
796c9f324e
2 changed files with 2 additions and 2 deletions
  1. +1
    -0
      hc/front/views.py
  2. +1
    -2
      hc/settings.py

+ 1
- 0
hc/front/views.py View File

@ -756,6 +756,7 @@ def channels(request, code):
"project": project,
"profile": project.owner_profile,
"channels": channels,
"enable_email": settings.EMAIL_ENABLED is True,
"enable_apprise": settings.APPRISE_ENABLED is True,
"enable_call": settings.TWILIO_AUTH is not None,
"enable_discord": settings.DISCORD_CLIENT_ID is not None,


+ 1
- 2
hc/settings.py View File

@ -26,7 +26,7 @@ def envint(s, default):
return int(v)
SECRET_KEY = os.getenv("SECRET_KEY", "---")
SECRET_KEY = os.getenv("SECRET_KEY", "")
METRICS_KEY = os.getenv("METRICS_KEY")
DEBUG = envbool("DEBUG", "True")
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS", "*").split(",")
@ -212,7 +212,6 @@ TWILIO_FROM = os.getenv("TWILIO_FROM")
TWILIO_USE_WHATSAPP = envbool("TWILIO_USE_WHATSAPP", "False")
# PagerDuty
PAGERDUTY_ENABLED = envbool("PAGERDUTY_ENABLED", "True")
PD_VENDOR_KEY = os.getenv("PD_VENDOR_KEY")
# Trello


Loading…
Cancel
Save