fix(web): rename favicons to v2 for cache busting (#9492)

This commit is contained in:
Ryan Vogel 2026-01-19 15:04:59 -05:00 committed by GitHub
commit 889c60d63b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 78 additions and 16 deletions

View file

@ -32,6 +32,34 @@ export default defineConfig({
solidJs(),
starlight({
title: "OpenCode",
favicon: "/favicon-v2.svg",
head: [
{
tag: "link",
attrs: {
rel: "icon",
href: "/favicon-v2.ico",
sizes: "32x32",
},
},
{
tag: "link",
attrs: {
rel: "icon",
type: "image/png",
href: "/favicon-96x96-v2.png",
sizes: "96x96",
},
},
{
tag: "link",
attrs: {
rel: "apple-touch-icon",
href: "/apple-touch-icon-v2.png",
sizes: "180x180",
},
},
],
lastUpdated: true,
expressiveCode: { themes: ["github-light", "github-dark"] },
social: [

View file

@ -0,0 +1 @@
../../ui/src/assets/favicon/apple-touch-icon-v2.png

View file

@ -0,0 +1 @@
../../ui/src/assets/favicon/favicon-96x96-v2.png

View file

@ -0,0 +1 @@
../../ui/src/assets/favicon/favicon-v2.ico

View file

@ -0,0 +1 @@
../../ui/src/assets/favicon/favicon-v2.svg