Skip to content

Commit

Permalink
fix: manifest file
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Oct 16, 2024
1 parent 78f5f10 commit 1be2b15
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="apple-touch-icon" href="/dsfr/favicon/apple-touch-icon.png" />
<link rel="icon" href="/dsfr/favicon/favicon.svg" type="image/svg+xml" />
<link rel="shortcut icon" href="/dsfr/favicon/favicon.ico" type="image/x-icon" />
<link rel="manifest" href="/dsfr/favicon/manifest.webmanifest" crossorigin="use-credentials" />
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials" />

<link rel="stylesheet" href="/dsfr/utility/icons/icons.min.css" />
<title>CR VIF</title>
Expand Down
12 changes: 12 additions & 0 deletions packages/frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ export default defineConfig({
start_url: "/",
lang: "fr",
theme_color: "#FFFFFF",
icons: [
{
src: "/dsfr/favicon/android-chrome-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "/dsfr/favicon/android-chrome-512x512.png",
sizes: "512x512",
type: "image/png",
},
],
},
workbox: {
maximumFileSizeToCacheInBytes: 2097152 * 3,
Expand Down

0 comments on commit 1be2b15

Please sign in to comment.