Skip to content

Commit

Permalink
modify url
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Feb 15, 2025
1 parent e1d95e4 commit 6634bb8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions backend/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,11 @@
if ALGOLIA["API_KEY"]:
INSTALLED_APPS += ["algoliasearch_django"]

CELERY_BROKER_URL = env("REDIS_URL", default="redis://localhost/")
CELERY_RESULT_BACKEND = env("REDIS_URL", default="redis://localhost/")
REDIS_URL = env("REDIS_URL", default="redis://localhost/")
if REDIS_URL.startswith("rediss://"):
REDIS_URL += "?ssl_cert_reqs=none"
CELERY_BROKER_URL = REDIS_URL
CELERY_RESULT_BACKEND = REDIS_URL


INSTALLED_APPS += ["graphene_django"]
Expand Down

0 comments on commit 6634bb8

Please sign in to comment.