perf(web): self-host Font Awesome instead of cdnjs CDN

Replace the external cdnjs.cloudflare.com <link> with a bundled
npm import so FA CSS+fonts ship as static assets through the
same Cloudflare CDN that serves the app — eliminates an extra
DNS lookup and third-party CDN dependency, improves reliability
for China users.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
yuanzonghao
2026-06-19 01:33:40 +08:00
parent f8cfa90d4c
commit 05a5251658
4 changed files with 12 additions and 6 deletions
+1
View File
@@ -21,6 +21,7 @@
"deploy:cf": "opennextjs-cloudflare deploy"
},
"dependencies": {
"@fortawesome/fontawesome-free": "6.5.1",
"@supabase/ssr": "^0.12",
"@supabase/supabase-js": "^2.108",
"drizzle-orm": "^0.45.2",