Skip to content

Commit 41091e6

Browse files
authored
Merge pull request #188 from Nekoya3/feature/fix-pwa
PWAの修正
2 parents 814b9d2 + b9e9f31 commit 41091e6

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

nuxt.config.js

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ export default {
6262
{
6363
hid: 'og:image',
6464
property: 'og:image',
65-
content: 'https://app.studyathome.jp/'
65+
content: 'https://app.studyathome.jp/ogp.png'
6666
},
6767
{
6868
hid: 'twitter:image',
6969
name: 'twitter:image',
70-
content: 'https://app.studyathome.jp/'
70+
content: 'https://app.studyathome.jp/ogp.png'
7171
}
7272
],
7373
link: [
@@ -165,10 +165,20 @@ export default {
165165
APPID: process.env.APPID,
166166
MEASUREMENTID: process.env.MEASUREMENTID
167167
},
168+
manifest: {
169+
name: 'おうちで時間割',
170+
short_name: 'おうちで時間割',
171+
theme_color: '#0071C2',
172+
background_color: '#ffffff',
173+
display: 'standalone',
174+
Scope: '/',
175+
start_url: '/',
176+
splash_pages: null
177+
},
168178
workbox: {
169179
importScripts: [
170-
'https://www.gstatic.com/firebasejs/7.14.6/firebase-app.js',
171-
'https://www.gstatic.com/firebasejs/7.14.6/firebase-auth.js',
180+
'https://www.gstatic.com/firebasejs/7.15.1/firebase-app.js',
181+
'https://www.gstatic.com/firebasejs/7.15.1/firebase-auth.js',
172182
'swenv.js',
173183
'sw-firebase-auth.js'
174184
],

0 commit comments

Comments
 (0)