Skip to content

Commit

Permalink
PWAのmanifestのアイコン周りを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
takusea committed Oct 21, 2024
1 parent ebd83e3 commit ce5147a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineConfig({
react(),
VitePWA({
registerType: "autoUpdate",
includeAssets: ["icon.png"],
includeAssets: ["favicon.png"],
injectRegister: "auto",
manifest: {
name: "ますとくりっぱー",
Expand All @@ -20,12 +20,12 @@ export default defineConfig({
display: "standalone",
icons: [
{
src: "icon.png",
src: "icon-192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "icon.png",
src: "icon-512.png",
sizes: "512x512",
type: "image/png",
},
Expand Down

0 comments on commit ce5147a

Please sign in to comment.