Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit e174530

Browse files
committed
use reflex domain constant
1 parent 1ba0183 commit e174530

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pcweb/meta/meta.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def blog_index_jsonld(posts: list[tuple[str, dict]], url: str) -> rx.Component:
216216
{
217217
"@type": "ListItem",
218218
"position": i + 1,
219-
"url": f"https://reflex.dev/blog/{path}",
219+
"url": f"{REFLEX_DOMAIN_URL.rstrip('/')}/blog/{path}",
220220
"name": meta.get("title_tag") or meta.get("title", ""),
221221
"datePublished": str(meta.get("date", "")),
222222
}
@@ -226,7 +226,7 @@ def blog_index_jsonld(posts: list[tuple[str, dict]], url: str) -> rx.Component:
226226
{
227227
"@type": "BlogPosting",
228228
"headline": meta.get("title_tag") or meta.get("title", ""),
229-
"url": f"https://reflex.dev/blog/{path}",
229+
"url": f"{REFLEX_DOMAIN_URL.rstrip('/')}/blog/{path}",
230230
"datePublished": str(meta.get("date", "")),
231231
}
232232
for path, meta in posts[:20]

0 commit comments

Comments
 (0)