nitropack-nightly 2.11.3-20250306-111821.d219707f → 2.11.3-20250306-120453.de0b4474

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2445,7 +2445,7 @@ async function defaultHandler(error, event, opts) {
2445
2445
  "content-security-policy": "script-src 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self';"
2446
2446
  };
2447
2447
  if (statusCode === 404 || !getResponseHeader(event, "cache-control")) {
2448
- headers["Cache-Control"] = "no-cache";
2448
+ headers["cache-control"] = "no-cache";
2449
2449
  }
2450
2450
  const body = useJSON ? {
2451
2451
  error: true,
@@ -1,3 +1,3 @@
1
- const version = "2.11.3-20250306-111821.d219707f";
1
+ const version = "2.11.3-20250306-120453.de0b4474";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "2.11.3-20250306-111821.d219707f";
1
+ const version = "2.11.3-20250306-120453.de0b4474";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "2.11.3-20250306-111821.d219707f";
1
+ const version = "2.11.3-20250306-120453.de0b4474";
2
2
 
3
3
  export { version };
@@ -67,7 +67,7 @@ export async function defaultHandler(error, event, opts) {
67
67
  "content-security-policy": "script-src 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self';"
68
68
  };
69
69
  if (statusCode === 404 || !getResponseHeader(event, "cache-control")) {
70
- headers["Cache-Control"] = "no-cache";
70
+ headers["cache-control"] = "no-cache";
71
71
  }
72
72
  const body = useJSON ? {
73
73
  error: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitropack-nightly",
3
- "version": "2.11.3-20250306-111821.d219707f",
3
+ "version": "2.11.3-20250306-120453.de0b4474",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "repository": "nitrojs/nitro",
6
6
  "license": "MIT",