@murasoftware/next-core
Advanced tools
Comparing version 1.0.67 to 1.0.68
@@ -533,2 +533,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
} | ||
if (context.res.statusCode != 301) { | ||
context.res.setHeader('Cache-Control', 'no-cache, no-store'); | ||
context.res.setHeader('Expires', 'Mon, 01 Jan 1990 00:00:00 GMT'); | ||
} | ||
} | ||
@@ -535,0 +540,0 @@ } |
@@ -530,2 +530,7 @@ import React, { useEffect, useState, createContext } from 'react'; | ||
} | ||
if (context.res.statusCode != 301) { | ||
context.res.setHeader('Cache-Control', 'no-cache, no-store'); | ||
context.res.setHeader('Expires', 'Mon, 01 Jan 1990 00:00:00 GMT'); | ||
} | ||
} | ||
@@ -532,0 +537,0 @@ } |
{ | ||
"name": "@murasoftware/next-core", | ||
"version": "1.0.67", | ||
"version": "1.0.68", | ||
"description": "Core utilties for Mura.js and Next.js", | ||
@@ -5,0 +5,0 @@ "author": "Mura Software", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
255037
1985