Изменен favicon.ico на favicon-new.ico для обхода кэша браузера
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 45s

This commit is contained in:
Play Life Bot
2026-01-19 23:22:50 +03:00
parent e77338fc76
commit a5452c42f9
6 changed files with 9 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ async function generateIcons() {
// Генерируем иконки разных размеров
const sizes = [
{ name: 'favicon.ico', size: 32 },
{ name: 'favicon-new.ico', size: 32 },
{ name: 'apple-touch-icon.png', size: 180 },
{ name: 'pwa-192x192.png', size: 192 },
{ name: 'pwa-512x512.png', size: 512 },

View File

@@ -2,8 +2,8 @@
<html lang="ru">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico?v=3.16.3" sizes="32x32" />
<link rel="icon" href="/favicon.svg?v=3.16.3" type="image/svg+xml" />
<link rel="icon" href="/favicon-new.ico?v=3.16.4" sizes="32x32" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png?v=3.16.3" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />

View File

@@ -1,6 +1,6 @@
{
"name": "play-life-web",
"version": "3.16.3",
"version": "3.16.4",
"type": "module",
"scripts": {
"dev": "vite",

View File

Before

Width:  |  Height:  |  Size: 506 B

After

Width:  |  Height:  |  Size: 506 B

View File

@@ -17,7 +17,7 @@ export default defineConfig(({ mode }) => {
react(),
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['favicon.ico?v=3.16.3', 'apple-touch-icon.png?v=3.16.3', 'favicon.svg?v=3.16.3'],
includeAssets: ['favicon-new.ico?v=3.16.4', 'apple-touch-icon.png?v=3.16.4', 'favicon.svg?v=3.16.4'],
manifest: {
name: 'PlayLife - Статистика и задачи',
short_name: 'PlayLife',
@@ -30,23 +30,23 @@ export default defineConfig(({ mode }) => {
scope: '/',
icons: [
{
src: 'pwa-192x192.png?v=3.16.3',
src: 'pwa-192x192.png?v=3.16.4',
sizes: '192x192',
type: 'image/png'
},
{
src: 'pwa-512x512.png?v=3.16.3',
src: 'pwa-512x512.png?v=3.16.4',
sizes: '512x512',
type: 'image/png'
},
{
src: 'pwa-maskable-192x192.png?v=3.16.3',
src: 'pwa-maskable-192x192.png?v=3.16.4',
sizes: '192x192',
type: 'image/png',
purpose: 'maskable'
},
{
src: 'pwa-maskable-512x512.png?v=3.16.3',
src: 'pwa-maskable-512x512.png?v=3.16.4',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable'