minimalistic-server 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1724,7 +1724,7 @@ async function handleRequest(req, routes, staticFileDirectory, handleNotFoundErr
1724
1724
  let resp = staticCache.get(filePath);
1725
1725
 
1726
1726
  if (!resp) {
1727
- const resp = new FileResponse(decodeURI(path));
1727
+ resp = new FileResponse(decodeURI(path));
1728
1728
  resp.addCustomHeaders({
1729
1729
  'Cache-Control': 'public, max-age=432000',
1730
1730
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimalistic-server",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "engines" : {
5
5
  "npm" : ">=8.6.0",
6
6
  "node" : ">=22.0.0"