Skip to content

Commit

Permalink
[Constants] add backend env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDSM committed Aug 8, 2023
1 parent 4fd71ac commit 6677620
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions octobot/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
COMMUNITY_BACKEND_API_URL = os.getenv("COMMUNITY_BACKEND_API_URL", "https://astro-lab.swell.store/api")
OCTOBOT_COMMUNITY_RECOVER_PASSWORD_URL = f"{OCTOBOT_COMMUNITY_URL}/auth/forgot-password"
# todo use real production db
COMMUNITY_BACKEND_URL = "https://kfgrdlxlryvmhdkbrarr.supabase.co"
COMMUNITY_BACKEND_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImtmZ3JkbHhscnl2bWhka2JyYXJyIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODQ2ODcwMTksImV4cCI6MjAwMDI2MzAxOX0.UH0g1ZDr9kDQMkGWxxy29lLjDEIPlSeU_f2GjwFFfGE"
COMMUNITY_BACKEND_URL = os.getenv("COMMUNITY_BACKEND_URL", "https://kfgrdlxlryvmhdkbrarr.supabase.co")
COMMUNITY_BACKEND_KEY = os.getenv("COMMUNITY_BACKEND_KEY", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImtmZ3JkbHhscnl2bWhka2JyYXJyIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODQ2ODcwMTksImV4cCI6MjAwMDI2MzAxOX0.UH0g1ZDr9kDQMkGWxxy29lLjDEIPlSeU_f2GjwFFfGE")


# staging env SHOULD ONLY BE USED THROUGH CommunityIdentifiersProvider
Expand All @@ -76,8 +76,8 @@
STAGING_COMMUNITY_BACKEND_API_URL = os.getenv("COMMUNITY_BACKEND_API_URL", "https://astro-lab-staging.swell.store/api")
STAGING_COMMUNITY_RECOVER_PASSWORD_URL = f"{STAGING_OCTOBOT_COMMUNITY_URL}/auth/forgot-password"
# todo use real staging db
STAGING_COMMUNITY_BACKEND_URL = "https://kfgrdlxlryvmhdkbrarr.supabase.co"
STAGING_COMMUNITY_BACKEND_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImtmZ3JkbHhscnl2bWhka2JyYXJyIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODQ2ODcwMTksImV4cCI6MjAwMDI2MzAxOX0.UH0g1ZDr9kDQMkGWxxy29lLjDEIPlSeU_f2GjwFFfGE"
STAGING_COMMUNITY_BACKEND_URL = os.getenv("COMMUNITY_BACKEND_URL", "https://kfgrdlxlryvmhdkbrarr.supabase.co")
STAGING_COMMUNITY_BACKEND_KEY = os.getenv("COMMUNITY_BACKEND_KEY", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImtmZ3JkbHhscnl2bWhka2JyYXJyIiwicm9sZSI6ImFub24iLCJpYXQiOjE2ODQ2ODcwMTksImV4cCI6MjAwMDI2MzAxOX0.UH0g1ZDr9kDQMkGWxxy29lLjDEIPlSeU_f2GjwFFfGE")



Expand Down

0 comments on commit 6677620

Please sign in to comment.