@rubytech/create-realagent 1.0.835 → 1.0.836
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 +1 -1
- package/payload/server/server.js +4 -1
package/package.json
CHANGED
package/payload/server/server.js
CHANGED
|
@@ -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) =>
|
|
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);
|