mirror of
https://github.com/sst/opencode.git
synced 2025-08-27 16:34:09 +00:00
docs: dynamic domain
This commit is contained in:
parent
c51de945a5
commit
facd851b11
4 changed files with 7 additions and 5 deletions
|
@ -13,7 +13,7 @@ const {
|
|||
const isDocs = slug.startsWith("docs")
|
||||
|
||||
let encodedTitle = '';
|
||||
let ogImage = `${config.url}/social-share.png`;
|
||||
let ogImage = `https://${config.domain}/social-share.png`;
|
||||
let truncatedDesc = '';
|
||||
|
||||
if (isDocs) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue