mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update android
This commit is contained in:
+9
-6
@@ -35,12 +35,16 @@ export default defineConfig({
|
||||
include: ['crypto', 'stream', 'util', 'buffer', 'events'],
|
||||
}),
|
||||
VitePWA({
|
||||
strategies: 'generateSW',
|
||||
registerType: 'autoUpdate',
|
||||
includeAssets: ['favicon.ico', 'robots.txt', 'apple-touch-icon.png'],
|
||||
injectManifest: {
|
||||
maximumFileSizeToCacheInBytes: 6000000,
|
||||
},
|
||||
manifest: {
|
||||
name: 'Seedit',
|
||||
short_name: 'Seedit',
|
||||
description: 'A GUI for plebbit similar to old.reddit',
|
||||
name: 'plebchan',
|
||||
short_name: 'plebchan',
|
||||
description: 'A GUI for plebbit similar to 4chan',
|
||||
theme_color: '#ffffff',
|
||||
background_color: '#ffffee',
|
||||
display: 'standalone',
|
||||
@@ -67,10 +71,9 @@ export default defineConfig({
|
||||
clientsClaim: true,
|
||||
skipWaiting: true,
|
||||
cleanupOutdatedCaches: true,
|
||||
|
||||
navigateFallback: 'index.html',
|
||||
navigateFallbackDenylist: [/^\/api/, /^\/_(.*)/],
|
||||
|
||||
navigateFallbackDenylist: [/^\/api/, /^\/_\(.*\)/],
|
||||
maximumFileSizeToCacheInBytes: 6000000,
|
||||
runtimeCaching: [
|
||||
// Fix index.html not refreshing on new versions
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user