modernize
- update react - get rid of componentWillReceiveProps - add service worker and fix pwa issues
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/static/favicon/256.png">
|
||||
<link rel="manifest" href="%PUBLIC_URL%/static/manifest.json">
|
||||
<meta name="theme-color" content="#333333"/>
|
||||
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/static/favicon/180.png" />
|
||||
@@ -21,6 +22,7 @@
|
||||
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1242x2208.png" media="(device-width: 414px) and (-webkit-device-pixel-ratio: 3)"/>
|
||||
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/1668x2388.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)"/>
|
||||
<link rel="apple-touch-startup-image" href="%PUBLIC_URL%/static/splash/2388x1668.png" media="(device-width: 834px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)"/>
|
||||
|
||||
<title>P大树洞</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
],
|
||||
"start_url": "../",
|
||||
"display": "standalone",
|
||||
"theme_color": "#112244",
|
||||
"background_color": "#112244"
|
||||
"theme_color": "#333333",
|
||||
"background_color": "#333333"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user