@rubytech/create-realagent 1.0.835 → 1.0.837

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/create-realagent",
3
- "version": "1.0.835",
3
+ "version": "1.0.837",
4
4
  "description": "Install Real Agent — Built for agents. By agents.",
5
5
  "bin": {
6
6
  "create-realagent": "./dist/index.js"
@@ -12128,7 +12128,7 @@ var MIME = {
12128
12128
  ".otf": "font/otf"
12129
12129
  };
12130
12130
  var HTML_EXTS = /* @__PURE__ */ new Set([".html", ".htm"]);
12131
- var CSP_HTML = "default-src 'self' https: data:; script-src 'none'";
12131
+ var CSP_HTML = "default-src 'self' https: data:; style-src 'self' https: 'unsafe-inline'; script-src 'none'";
12132
12132
  function getExt(p) {
12133
12133
  const idx = p.lastIndexOf(".");
12134
12134
  if (idx < 0) return "";
@@ -12986,7 +12986,10 @@ app37.get("/:slug", async (c, next) => {
12986
12986
  await next();
12987
12987
  });
12988
12988
  if (brandFaviconPath !== "/favicon.ico") {
12989
- app37.get("/favicon.ico", (c) => c.redirect(brandFaviconPath, 302));
12989
+ app37.get("/favicon.ico", (c) => {
12990
+ c.header("Cache-Control", "public, max-age=300");
12991
+ return c.redirect(brandFaviconPath, 302);
12992
+ });
12990
12993
  }
12991
12994
  app37.use("/*", serveStatic({ root: "./public" }));
12992
12995
  var port = parseInt(process.env.MAXY_UI_INTERNAL_PORT ?? process.env.PORT ?? "19199", 10);