fix:공유하기 기본이미지 + 내용
This commit is contained in:
1 parent
1507a0f859
commit
51ef659f16
2 files changed
+12
-13
No files matched your search
@@ -11,8 +11,7 @@ from app.home.models import Project
|
||||
from app.video.models import Video
|
||||
|
||||
FALLBACK_FRONTEND_URL = "https://ado2.o2osolution.ai"
|
||||
DEFAULT_SHARE_IMAGE_PATH = "/assets/images/hero-background.png"
|
||||
|
||||
DEFAULT_SHARE_IMAGE_PATH = "/assets/images/ado2_image.png"
|
||||
|
||||
@dataclass(frozen=True, slots=True)
|
||||
class VideoShareData:
|
||||
@@ -76,7 +75,7 @@ def build_video_share_html(
|
||||
region = _normalise_text(data.region, "")
|
||||
title = f"{store_name} | ADO2"
|
||||
description = (
|
||||
f"{region} · ADO2 AI 마케팅 영상"
|
||||
f"{region} · {store_name} 어떤 내용이 들어가야할지 정해야 합니다. 기존 영상 업로드시에 생성되는 내용을 사용하려면 db에 저장하고 업로드 할때마다 변경되는 부분을 전부 수정해야 합니다."
|
||||
if region
|
||||
else "ADO2 AI 마케팅 영상"
|
||||
)
|
||||
|
||||
@@ -33,14 +33,14 @@ class ProjectSettings(BaseSettings):
|
||||
ADMIN_BASE_URL: str = Field(default="/admin")
|
||||
ADMIN_SESSION_SECRET: str = Field(default="dev-secret-change-me-in-production")
|
||||
ADMIN_SESSION_MAX_AGE: int = Field(default=60 * 60 * 8)
|
||||
SHARE_FRONTEND_URL: str = Field(
|
||||
default="https://ado2.o2osolution.ai",
|
||||
description="영상 공유 링크가 이동할 프론트엔드 공개 기준 URL",
|
||||
)
|
||||
SHARE_DEFAULT_IMAGE_URL: str = Field(
|
||||
default="https://ado2.o2osolution.ai/assets/images/hero-background.png",
|
||||
description="포스터가 없는 영상 공유 시 사용할 절대 이미지 URL",
|
||||
)
|
||||
SHARE_FRONTEND_URL: str = Field(
|
||||
default="https://ado2.o2osolution.ai",
|
||||
description="영상 공유 링크가 이동할 프론트엔드 공개 기준 URL",
|
||||
)
|
||||
SHARE_DEFAULT_IMAGE_URL: str = Field(
|
||||
default="https://ado2.o2osolution.ai/assets/images/ado2_image.png",
|
||||
description="포스터가 없는 영상 공유 시 사용할 절대 이미지 URL",
|
||||
)
|
||||
DEBUG: bool = Field(default=True)
|
||||
TIMEZONE: str = Field(
|
||||
default="Asia/Seoul",
|
||||
@@ -182,8 +182,8 @@ class AzureBlobSettings(BaseSettings):
|
||||
ge=1,
|
||||
description="worker별 이미지 upload named lock 동시 점유 상한",
|
||||
)
|
||||
IMAGE_UPLOAD_MAX_TASK_IMAGES: int = Field(
|
||||
default=100,
|
||||
IMAGE_UPLOAD_MAX_TASK_IMAGES: int = Field(
|
||||
default=100,
|
||||
ge=1,
|
||||
description="한 task에 누적할 수 있는 활성 이미지 최대 개수",
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user