fix:#3 linted formatted

This commit is contained in:
Elmar Kresse
2024-07-24 10:54:20 +02:00
parent 60f8b06f84
commit c15dbfeebb
21 changed files with 4190 additions and 1123 deletions

View File

@@ -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
},