Skip to content

Commit ed83a8c

Browse files
committed
Added env variable for spire and brood url
1 parent 80c3949 commit ed83a8c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

bugout/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

3-
BUGOUT_BROOD_URL = "https://auth.bugout.dev"
4-
BUGOUT_SPIRE_URL = "https://spire.bugout.dev"
3+
BUGOUT_BROOD_URL = os.environ.get("BUGOUT_BROOD_URL", "https://auth.bugout.dev")
4+
BUGOUT_SPIRE_URL = os.environ.get("BUGOUT_SPIRE_URL", "https://spire.bugout.dev")
55

66
REQUESTS_TIMEOUT = 5
77
REQUESTS_TIMEOUT_RAW = os.environ.get("BUGOUT_TIMEOUT_SECONDS")

sample.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
export BUGOUT_BROOD_URL="https://auth.bugout.dev"
2+
export BUGOUT_SPIRE_URL="https://spire.bugout.dev"
13
export BUGOUT_TIMEOUT_SECONDS=5

0 commit comments

Comments
 (0)