feat(learn): add family learning assistant API routes and public pages

Wire /learn static delivery, parent/child portal routes, and Tang page build scripts for 103 deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-11 17:09:52 +08:00
parent b285fe24be
commit 348e192800
15 changed files with 2192 additions and 0 deletions
+6
View File
@@ -161,6 +161,12 @@ export function attachPortalStaticDeliveryRoutes({
{ maxAge: '1d' },
),
);
app.use(
'/learn',
staticMiddleware(pathApi.join(h5Root, 'public/learn'), {
maxAge: '0',
}),
);
app.get(
'/dev/wechat-share-preview',