basic files required for testing PWAs

This commit is contained in:
ansuz 2020-10-20 09:20:13 +05:30
parent c059d801a6
commit 3fafbbc068
2 changed files with 13 additions and 0 deletions

View file

@ -24,6 +24,7 @@ Default.commonCSP = function (domain) {
the ws://* directive, and change '*' to your domain
*/
"connect-src 'self' ws: wss: blob:" + domain,
"manifest-src " + domain,
// data: is used by codemirror
"img-src 'self' data: blob:" + domain,

12
www/manifest.webmanifest Normal file
View file

@ -0,0 +1,12 @@
{
"short_name": "CryptPad",
"name": "CryptPad: the encrypted collaboration suite",
"description": "the encrypted collaboration suite",
"icons": [],
"background_color": "#ff0073",
"display": "browser",
"start_url": "/drive/?source=pwa",
"scope": "/",
"theme_color": "#ff0073",
"shortcuts": []
}