Validate canonical notes and lightweight media in the full stack suite
wiki CI and deployment / verify-and-deploy (push) Successful in 18m48s

This commit is contained in:
2026-10-25 22:46:17 +08:00
parent 4690c1ae9b
commit 5f1af4e9f6
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -3,4 +3,4 @@ import ids from './page-ids.json';
export function pageId(key:string):string{return (ids as Record<string,string>)[key]||'';}
export const exploreUrl=(id:string)=>'/explore/'+encodeURIComponent(id);
export const guidanceUrl=(path:string)=>exploreUrl(pageId('guidance:'+path));
export function previewUrl(source:string,width=640){return '/api/preview?'+new URLSearchParams({source,width:String(width)});}
export function previewUrl(source:string,width=480){return '/api/preview?'+new URLSearchParams({source,width:String(width)});}