fix(wechat): repair share preview on disk for sanitized delivery artifacts
Memind CI / Test, build, and release guards (push) Failing after 6s
Memind CI / Test, build, and release guards (push) Failing after 6s
Production WeChat delivery strips localPath from artifacts, so share-preview auto-repair never wrote back to HTML. Resolve paths via publishDir + relativePath, repair at materialize and delivery prep, and pass h5Root from Portal so page.generate can patch missing meta before sending links. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -105,6 +105,7 @@ export async function bootstrapPortalIntegrationServices({
|
||||
config: wechatMpConfig,
|
||||
userAuth,
|
||||
sessionAccess,
|
||||
h5Root,
|
||||
htmlDeliveryAuthority:
|
||||
typeof mindSpacePublicFinish
|
||||
?.prepareWechatHtmlDelivery ===
|
||||
|
||||
Reference in New Issue
Block a user