Date: 2026-01-09 00:00 Summary: Fixed broken layout after CDN switch by removing mismatched Bootstrap SRI hashes.
[question] 页面布局失效,检查是否切换js和css 的cdn链接的原因
[try to solve]
Diagnosis: after switching to Cloudflare cdnjs, SRI hash mismatch likely blocked CSS/JS load and broke layout.
Fix: removed Bootstrap 5.3.3 SRI from public/index.html, kept the Cloudflare cdnjs URLs and referrerpolicy="no-referrer" so assets load.
[actions]
- Updated
public/index.html