introduce PWA
This commit is contained in:
parent
4a6b87ac1c
commit
c2dcd52da1
|
@ -497,7 +497,6 @@ function parse(obj, mix, acct_id, tlid, popup, mutefilter, type) {
|
||||||
console.log(eUrl, regExp)
|
console.log(eUrl, regExp)
|
||||||
content = content.replace(regExp, 'href="' + eUrl + '"')
|
content = content.replace(regExp, 'href="' + eUrl + '"')
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
<script type="text/javascript" src="https://cdn.crowdin.com/jipt/jipt.js"></script>
|
||||||
@@comment-end@@
|
@@comment-end@@
|
||||||
|
<link href="../../../manifest.json" rel="manifest">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
3
index.html
Normal file
3
index.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<script>
|
||||||
|
location.href="./view/ja"
|
||||||
|
</script>
|
17
manifest.json
Normal file
17
manifest.json
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"name": "TheDesk",
|
||||||
|
"short_name": "TheDesk",
|
||||||
|
"description": "Mastodonクライアント",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "./app/img/desk.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#212121",
|
||||||
|
"background_color": "#212121",
|
||||||
|
"display": "standalone",
|
||||||
|
"start_url": "./view/ja",
|
||||||
|
"scope": "https://thedesk.github.io"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user