From cb592da59b0eba01b51489229484390874c6c7ab Mon Sep 17 00:00:00 2001 From: xmcp Date: Tue, 28 Aug 2018 19:42:01 +0800 Subject: [PATCH] add pwa promotion bar --- public/static/manifest.json | 2 +- src/Common.js | 11 +++++++++++ src/Title.js | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/public/static/manifest.json b/public/static/manifest.json index 53c7737..12b6106 100644 --- a/public/static/manifest.json +++ b/public/static/manifest.json @@ -13,7 +13,7 @@ "type": "image/png" } ], - "start_url": "/?src=pwa", + "start_url": "/?app", "display": "standalone", "theme_color": "#112244", "background_color": "#112244" diff --git a/src/Common.js b/src/Common.js index 2099328..4a10249 100644 --- a/src/Common.js +++ b/src/Common.js @@ -94,4 +94,15 @@ export class SafeTextarea extends Component {