Skip to content

Commit 5e2b437

Browse files
committed
service site url
1 parent 0186f41 commit 5e2b437

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

codeforlife/settings/custom.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@
2323
# The api url of the current service.
2424
SERVICE_API_URL = f"{SERVICE_BASE_URL}/api"
2525

26+
# The website url of the current service.
27+
SERVICE_SITE_URL = (
28+
"http://localhost:5173"
29+
if SERVICE_DOMAIN == "localhost"
30+
else SERVICE_BASE_URL
31+
)
32+
2633
# The authorization bearer token used to authenticate with Dotdigital.
2734
DOTDIGITAL_AUTH = os.getenv("DOTDIGITAL_AUTH", "REPLACE_ME")
2835

0 commit comments

Comments
 (0)