fix(web): rename favicons to v2 for cache busting (#9492)
This commit is contained in:
parent
c47699536f
commit
889c60d63b
22 changed files with 78 additions and 16 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue