mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-08-09 05:07:46 +02:00
fix:#3 linted formatted
This commit is contained in:
@@ -40,18 +40,18 @@ export default defineConfig({
|
||||
start_url: "/",
|
||||
id: "de.htwk-leipzig.htwkalender",
|
||||
screenshots: [
|
||||
{
|
||||
src: "/1280x720.png",
|
||||
sizes: "1280x720",
|
||||
form_factor: "wide",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "/390x844.png",
|
||||
sizes: "1170x2532",
|
||||
form_factor: "narrow",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "/1280x720.png",
|
||||
sizes: "1280x720",
|
||||
form_factor: "wide",
|
||||
type: "image/png",
|
||||
},
|
||||
{
|
||||
src: "/390x844.png",
|
||||
sizes: "1170x2532",
|
||||
form_factor: "narrow",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
icons: [
|
||||
{
|
||||
@@ -86,11 +86,11 @@ export default defineConfig({
|
||||
cleanupOutdatedCaches: true,
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: ({ url }) => url.pathname.startsWith('/api/feed'),
|
||||
method: 'GET',
|
||||
handler: 'NetworkFirst',
|
||||
urlPattern: ({ url }) => url.pathname.startsWith("/api/feed"),
|
||||
method: "GET",
|
||||
handler: "NetworkFirst",
|
||||
options: {
|
||||
cacheName: 'calendar-feed-cache',
|
||||
cacheName: "calendar-feed-cache",
|
||||
expiration: {
|
||||
maxAgeSeconds: 12 * 60 * 60, // 12 hours
|
||||
},
|
||||
|
Reference in New Issue
Block a user