aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Media/Manga/chapters.ts2
-rw-r--r--src/routes/feeds/activity-notifications/+server.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Media/Manga/chapters.ts b/src/lib/Media/Manga/chapters.ts
index c2e2bc29..b3a8e7b9 100644
--- a/src/lib/Media/Manga/chapters.ts
+++ b/src/lib/Media/Manga/chapters.ts
@@ -70,7 +70,7 @@ const getManga = async (
return Response.json(mangadexData, {
headers: {
- 'Cache-Control': 'max-age=300, s-maxage=300'
+ 'Cache-Control': 'max-age=300'
}
});
};
diff --git a/src/routes/feeds/activity-notifications/+server.ts b/src/routes/feeds/activity-notifications/+server.ts
index a9698d72..2b6bfad1 100644
--- a/src/routes/feeds/activity-notifications/+server.ts
+++ b/src/routes/feeds/activity-notifications/+server.ts
@@ -77,7 +77,7 @@ export const GET = async ({ url }) => {
return new Response(token ? render(notification || []) : render(), {
headers: {
- 'Cache-Control': `max-age=0, s-max-age=0`,
+ 'Cache-Control': `max-age=0`,
'Content-Type': 'application/xml'
}
});