Skip to content

Commit

Permalink
Implement PWA fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
itzCozi committed Feb 28, 2024
1 parent dfd5cef commit a11711f
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY package.json ./
COPY pnpm-lock.yaml ./
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile

ARG PWA_ENABLED="false"
ARG PWA_ENABLED="true"
ARG GA_ID
ARG APP_DOMAIN
ARG OPENSEARCH_ENABLED="false"
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="viewport"
content="width=device-width, initial-scale=1, viewport-fit=cover, maximum-scale=1.0, user-scalable=no" />
<meta name="description" content="A mirror of the place for your favourite movies & shows" />
<link rel="manifest" href="/manifest.json" />

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
Expand Down
45 changes: 45 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "sudo-flix",
"short_name": "sudo-flix",
"start_url": "/",
"display": "standalone",
"background_color": "#fff",
"theme_color": "#000",
"icons": [
{
"src": "/public/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/public/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
},
{
"src": "/public/apple-touch-icon.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/public/favicon-16x16.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "/public/favicon-32x32.png",
"sizes": "32x32",
"type": "image/png"
},
{
"src": "/public/favicon.ico",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/public/mstile-150x150.png",
"sizes": "150x150",
"type": "image/png"
}
]
}
Binary file removed public/flixico.jpg
Binary file not shown.

0 comments on commit a11711f

Please sign in to comment.