2021-01-01 20:05:44 +00:00
|
|
|
module.exports = {
|
|
|
|
pwa: {
|
2021-10-08 18:52:51 +00:00
|
|
|
name: "Piped",
|
|
|
|
themeColor: "#fa4b4b",
|
|
|
|
msTileColor: "#000000",
|
|
|
|
appleMobileWebAppCapable: "yes",
|
|
|
|
appleMobileWebAppStatusBarStyle: "black",
|
|
|
|
workboxPluginMode: "GenerateSW",
|
2021-01-01 20:05:44 +00:00
|
|
|
workboxOptions: {
|
2021-10-08 18:52:51 +00:00
|
|
|
navigateFallback: "index.html",
|
2021-03-20 06:43:34 +00:00
|
|
|
skipWaiting: true,
|
2021-10-08 18:52:51 +00:00
|
|
|
importWorkboxFrom: "local",
|
|
|
|
runtimeCaching: [
|
|
|
|
{
|
|
|
|
urlPattern: /\.(?:png|svg|ico)$/,
|
|
|
|
handler: "CacheFirst",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
2021-10-31 22:35:07 +00:00
|
|
|
pluginOptions: {
|
|
|
|
i18n: {
|
|
|
|
locale: "en",
|
|
|
|
localeDir: "locales",
|
|
|
|
fullInstall: true,
|
|
|
|
},
|
|
|
|
},
|
2021-10-08 18:52:51 +00:00
|
|
|
};
|