1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-13 22:00:28 +05:30

Fix disable caching of legacy js files

This commit is contained in:
Kavin 2023-01-26 00:21:38 +00:00 committed by GitHub
parent 67615ff1a3
commit 9043707b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ export default defineConfig({
registerType: "autoUpdate",
workbox: {
globPatterns: ["**/*.{js,css,html,ico,svg,png}", "manifest.webmanifest"],
globIgnores: ["**/*legacy.*.js"],
globIgnores: ["**/*-legacy-*.js"],
runtimeCaching: [
{
urlPattern: /https:\/\/[a-zA-Z./0-9_]*\.(?:otf|ttf)/i,