@sveltejs/kit
Advanced tools
Comparing version 2.5.19 to 2.5.20
{ | ||
"name": "@sveltejs/kit", | ||
"version": "2.5.19", | ||
"version": "2.5.20", | ||
"description": "SvelteKit is the fastest way to build Svelte apps", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -119,3 +119,6 @@ import { DEV } from 'esm-env'; | ||
if (decoded.startsWith(`/${options.app_dir}`)) { | ||
return text('Not found', { status: 404 }); | ||
// Ensure that 404'd static assets are not cached - some adapters might apply caching by default | ||
const headers = new Headers(); | ||
headers.set('cache-control', 'public, max-age=0, must-revalidate'); | ||
return text('Not found', { status: 404, headers }); | ||
} | ||
@@ -122,0 +125,0 @@ |
// generated during release, do not modify | ||
/** @type {string} */ | ||
export const VERSION = '2.5.19'; | ||
export const VERSION = '2.5.20'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
733693
21353