1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Implement PWA fix!

This commit is contained in:
Cooper Ransom 2024-02-28 17:56:28 -05:00
parent dfd5cefb41
commit a11711faad
4 changed files with 47 additions and 1 deletions

View file

@ -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"

View file

@ -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" />

45
manifest.json Normal file
View file

@ -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 not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB