Remove PWA (#826)
This commit is contained in:
parent
eb3344e2a0
commit
bafc1b6d48
|
@ -4,6 +4,7 @@
|
|||
<meta charset="utf-8" />
|
||||
<link rel="icon" href="/icons/icon.ico" />
|
||||
<link rel="apple-touch-icon" href="/icons/icon.png" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<link rel="preconnect" href="https://apis.google.com" crossorigin>
|
||||
<meta property="og:title" content="HyperTuner Cloud">
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -41,8 +41,7 @@
|
|||
"react-router-dom": "^6.4.2",
|
||||
"uplot": "^1.6.22",
|
||||
"uplot-react": "^1.1.1",
|
||||
"vite": "^3.1.8",
|
||||
"vite-plugin-pwa": "^0.13.1"
|
||||
"vite": "^3.1.8"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@hyper-tuner/eslint-config": "^0.1.6",
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"short_name": "HyperTuner Cloud",
|
||||
"name": "HyperTuner Cloud",
|
||||
"description": "The best way to share your Speeduino and rusEFI tunes and logs",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/icons/icon.ico",
|
||||
"type": "image/x-icon",
|
||||
"sizes": "256x256"
|
||||
},
|
||||
{
|
||||
"src": "/icons/icon.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"screenshots" : [
|
||||
{
|
||||
"src": "/img/screen2.png",
|
||||
"sizes": "1920x1194",
|
||||
"type": "image/png",
|
||||
"platform": "wide",
|
||||
"label": "Log viewer"
|
||||
},
|
||||
{
|
||||
"src": "/img/screen1.png",
|
||||
"sizes": "1920x1194",
|
||||
"type": "image/png",
|
||||
"platform": "wide",
|
||||
"label": "VE Table with command palette"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#191C1E",
|
||||
"background_color": "#191C1E"
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import react from '@vitejs/plugin-react';
|
||||
import { visualizer } from 'rollup-plugin-visualizer';
|
||||
import { VitePWA } from 'vite-plugin-pwa';
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
|
@ -37,49 +36,5 @@ export default defineConfig({
|
|||
plugins: [
|
||||
react(),
|
||||
visualizer(),
|
||||
VitePWA({
|
||||
registerType: 'autoUpdate',
|
||||
devOptions: {
|
||||
enabled: true,
|
||||
},
|
||||
includeAssets: ['icons/icon.ico', 'icons/icon.png'],
|
||||
manifest: {
|
||||
name: 'HyperTuner Cloud',
|
||||
short_name: 'HyperTuner Cloud',
|
||||
description: 'HyperTuner Cloud - Share your tunes and logs',
|
||||
start_url: '.',
|
||||
display: 'standalone',
|
||||
theme_color: '#191C1E',
|
||||
background_color: '#191C1E',
|
||||
icons: [
|
||||
{
|
||||
src: '/icons/icon.ico',
|
||||
type: 'image/x-icon',
|
||||
sizes: '256x256',
|
||||
},
|
||||
{
|
||||
src: '/icons/icon.png',
|
||||
type: 'image/png',
|
||||
sizes: '512x512',
|
||||
},
|
||||
],
|
||||
screenshots: [
|
||||
{
|
||||
src: '/img/screen2.png',
|
||||
sizes: '1920x1194',
|
||||
type: 'image/png',
|
||||
platform: 'wide',
|
||||
label: 'Log viewer',
|
||||
},
|
||||
{
|
||||
src: '/img/screen1.png',
|
||||
sizes: '1920x1194',
|
||||
type: 'image/png',
|
||||
platform: 'wide',
|
||||
label: 'VE Table with command palette',
|
||||
},
|
||||
],
|
||||
},
|
||||
}),
|
||||
],
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue