Skip to content

Commit 86ccd98

Browse files
claraniemersion
authored andcommitted
🔧(backend) add FRONTEND_URL to env settings
1 parent d7c2cec commit 86ccd98

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

env.d/development/common

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,6 @@ COLLABORATION_WS_URL=ws://localhost:4444/collaboration/ws/
6666
DJANGO_SERVER_TO_SERVER_API_TOKENS=server-api-token
6767
Y_PROVIDER_API_BASE_URL=http://y-provider-development:4444/api/
6868
Y_PROVIDER_API_KEY=yprovider-api-key
69+
70+
# Frontend
71+
FRONTEND_URL=http://localhost:3000

src/backend/impress/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ class Base(Configuration):
431431
)
432432

433433
# Frontend
434+
FRONTEND_URL = values.Value(None, environ_name="FRONTEND_URL", environ_prefix=None)
434435
FRONTEND_THEME = values.Value(
435436
None, environ_name="FRONTEND_THEME", environ_prefix=None
436437
)

0 commit comments

Comments
 (0)