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

@ -37,7 +37,7 @@ const platform: Platform = {
.then(() => {
const notification = new Notification(title, {
body: description ?? "",
icon: "https://opencode.ai/favicon-96x96.png",
icon: "https://opencode.ai/favicon-96x96-v2.png",
})
notification.onclick = () => {
window.focus()

View file

@ -1284,7 +1284,7 @@ export default function Layout(props: ParentProps) {
<div class="size-full rounded overflow-clip">
<Avatar
fallback={name()}
src={props.project.id === opencode ? "https://opencode.ai/favicon.svg" : props.project.icon?.url}
src={props.project.id === opencode ? "https://opencode.ai/favicon-v2.svg" : props.project.icon?.url}
{...getAvatarColors(props.project.icon?.color)}
class="size-full rounded"
style={