1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 18:08:11 +09:00

feat: PWA

This commit is contained in:
2019-08-02 04:23:21 +09:00
parent 226d909fdb
commit d856caadde
7 changed files with 32 additions and 40 deletions

3
web/src/util/pwa.js Normal file
View File

@@ -0,0 +1,3 @@
export function isStandalone() {
return 'standalone' in window.navigator && window.navigator.standalone
}