datastar-ssegen 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -81,7 +81,7 @@ export function ServerSentEventGenerator(request, response) {
81
81
  const generatorMethods = {
82
82
  headersSent: false,
83
83
  headers: {
84
- "Cache-Control": "nocache",
84
+ "Cache-Control": "no-cache",
85
85
  Connnection: "keep-alive",
86
86
  "Content-Type": "text/event-stream",
87
87
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datastar-ssegen",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Datastar Server-Sent Event generator",
5
5
  "author": "John Cudd",
6
6
  "type": "module",