Skip to content

Commit

Permalink
Merge pull request #188 from Nekoya3/feature/fix-pwa
Browse files Browse the repository at this point in the history
PWAの修正
  • Loading branch information
NEKOYASAN authored Jun 16, 2020
2 parents 814b9d2 + b9e9f31 commit 41091e6
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ export default {
{
hid: 'og:image',
property: 'og:image',
content: 'https://app.studyathome.jp/'
content: 'https://app.studyathome.jp/ogp.png'
},
{
hid: 'twitter:image',
name: 'twitter:image',
content: 'https://app.studyathome.jp/'
content: 'https://app.studyathome.jp/ogp.png'
}
],
link: [
Expand Down Expand Up @@ -165,10 +165,20 @@ export default {
APPID: process.env.APPID,
MEASUREMENTID: process.env.MEASUREMENTID
},
manifest: {
name: 'おうちで時間割',
short_name: 'おうちで時間割',
theme_color: '#0071C2',
background_color: '#ffffff',
display: 'standalone',
Scope: '/',
start_url: '/',
splash_pages: null
},
workbox: {
importScripts: [
'https://www.gstatic.com/firebasejs/7.14.6/firebase-app.js',
'https://www.gstatic.com/firebasejs/7.14.6/firebase-auth.js',
'https://www.gstatic.com/firebasejs/7.15.1/firebase-app.js',
'https://www.gstatic.com/firebasejs/7.15.1/firebase-auth.js',
'swenv.js',
'sw-firebase-auth.js'
],
Expand Down

0 comments on commit 41091e6

Please sign in to comment.