@ahmedrowaihi/8n-starter 2.2.4 → 2.2.5

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.
@@ -1 +1 @@
1
- import{watch as e,existsSync as n}from"node:fs";import{env as t}from"@/config";export const dynamic="force-dynamic";export function GET(){let o;if("development"!==process.env.NODE_ENV)return new Response("Not found",{status:404});let c=new TextEncoder;return new Response(new ReadableStream({start(r){r.enqueue(c.encode("data: connected\n\n")),n(t.CONTENT_DIR)&&(o=e(t.CONTENT_DIR,{recursive:!0},()=>{try{r.enqueue(c.encode("data: change\n\n"))}catch{o?.close()}}))},cancel(){o?.close()}}),{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"}})}
1
+ import{watch as e,existsSync as n}from"node:fs";import{env as t}from"@/config";export const dynamic="force-static";export function GET(){let o;if("development"!==process.env.NODE_ENV)return new Response("Not found",{status:404});let c=new TextEncoder;return new Response(new ReadableStream({start(r){r.enqueue(c.encode("data: connected\n\n")),n(t.CONTENT_DIR)&&(o=e(t.CONTENT_DIR,{recursive:!0},()=>{try{r.enqueue(c.encode("data: change\n\n"))}catch{o?.close()}}))},cancel(){o?.close()}}),{headers:{"Content-Type":"text/event-stream","Cache-Control":"no-cache",Connection:"keep-alive"}})}
package/app/robots.js CHANGED
@@ -1 +1 @@
1
- import{env as e}from"@/config";export default function t(){return{rules:{userAgent:"*",allow:"/"},sitemap:`${e.SITE_URL}/sitemap.xml`}}
1
+ import{env as t}from"@/config";export const dynamic="force-static";export default function e(){return{rules:{userAgent:"*",allow:"/"},sitemap:`${t.SITE_URL}/sitemap.xml`}}
package/app/sitemap.js CHANGED
@@ -1 +1 @@
1
- export{buildSitemap as default}from"@/lib/sitemap";
1
+ export const dynamic="force-static";export{buildSitemap as default}from"@/lib/sitemap";
package/package.json CHANGED
@@ -113,5 +113,5 @@
113
113
  "tsx": "^4.21.0",
114
114
  "typescript": "^5.9.3"
115
115
  },
116
- "version": "2.2.4"
116
+ "version": "2.2.5"
117
117
  }