fix: 배포환경에 맞게 공유URL 적용되도록 수정
This commit is contained in:
1 parent
51ef659f16
commit
c7149deb1f
6 files changed
+84
-50
No files matched your search
@@ -35,11 +35,14 @@ class ProjectSettings(BaseSettings):
|
||||
ADMIN_SESSION_MAX_AGE: int = Field(default=60 * 60 * 8)
|
||||
SHARE_FRONTEND_URL: str = Field(
|
||||
default="https://ado2.o2osolution.ai",
|
||||
description="영상 공유 링크가 이동할 프론트엔드 공개 기준 URL",
|
||||
description="공유 페이지에서 영상 상세로 이동할 프론트엔드 공개 기준 URL (.env: SHARE_FRONTEND_URL)",
|
||||
)
|
||||
SHARE_DEFAULT_IMAGE_URL: str = Field(
|
||||
default="https://ado2.o2osolution.ai/assets/images/ado2_image.png",
|
||||
description="포스터가 없는 영상 공유 시 사용할 절대 이미지 URL",
|
||||
default="",
|
||||
description=(
|
||||
"포스터가 없는 영상 공유 시 사용할 절대 이미지 URL (.env: SHARE_DEFAULT_IMAGE_URL). "
|
||||
"비우면 공유 API /static/images/ado2_image.png, 없으면 SHARE_FRONTEND_URL/assets 경로 사용"
|
||||
),
|
||||
)
|
||||
DEBUG: bool = Field(default=True)
|
||||
TIMEZONE: str = Field(
|
||||
|
||||
Reference in new issue
Block a user