Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
build: don't cache theme.css
Brad Barbin2d45cbda683b
diff --git a/apps/carbon/app/root.tsx b/apps/carbon/app/root.tsxindex 94cb10389f..923e09839f 100644--- a/apps/carbon/app/root.tsx+++ b/apps/carbon/app/root.tsx@@ -15,6 +15,7 @@ import {import { Analytics } from "@vercel/analytics/react";import type {ActionFunctionArgs,+ LinksFunction,LoaderFunctionArgs,MetaFunction,} from "@vercel/remix";@@ -30,14 +31,14 @@ import { modeValidator } from "./types/validators";// export const config = { runtime: "edge" };-export function links() {+export const links: LinksFunction = () => {return [{ rel: "stylesheet", href: Tailwind },{ rel: "stylesheet", href: Background },{ rel: "stylesheet", href: NProgress },{ rel: "stylesheet", href: "/assets/theme.css" },];-}+};export const meta: MetaFunction = () => {return [diff --git a/apps/carbon/app/routes/assets+/theme[.]css.ts b/apps/carbon/app/routes/assets+/theme[.]css.tsindex 435ff700fb..132d5990ec 100644--- a/apps/carbon/app/routes/assets+/theme[.]css.ts+++ b/apps/carbon/app/routes/assets+/theme[.]css.ts@@ -13,6 +13,7 @@ export async function loader({ request }: LoaderFunctionArgs) {return new Response("", {headers: {"Content-Type": "text/css",+ "Cache-Control": "no-store, max-age=0",},});}@@ -22,7 +23,7 @@ export async function loader({ request }: LoaderFunctionArgs) {return new Response(css, {headers: {"Content-Type": "text/css",- "Cache-Control": "s-maxage=1, stale-while-revalidate=3600",+ "Cache-Control": "no-store, max-age=0",},});}diff --git a/apps/developers/app/routes/assets+/theme[.]css.ts b/apps/developers/app/routes/assets+/theme[.]css.tsindex 435ff700fb..132d5990ec 100644--- a/apps/developers/app/routes/assets+/theme[.]css.ts+++ b/apps/developers/app/routes/assets+/theme[.]css.ts@@ -13,6 +13,7 @@ export async function loader({ request }: LoaderFunctionArgs) {return new Response("", {headers: {"Content-Type": "text/css",+ "Cache-Control": "no-store, max-age=0",},});}@@ -22,7 +23,7 @@ export async function loader({ request }: LoaderFunctionArgs) {return new Response(css, {headers: {"Content-Type": "text/css",- "Cache-Control": "s-maxage=1, stale-while-revalidate=3600",+ "Cache-Control": "no-store, max-age=0",},});}diff --git a/apps/mes/app/routes/assets+/theme[.]css.ts b/apps/mes/app/routes/assets+/theme[.]css.tsindex 435ff700fb..132d5990ec 100644--- a/apps/mes/app/routes/assets+/theme[.]css.ts+++ b/apps/mes/app/routes/assets+/theme[.]css.ts@@ -13,6 +13,7 @@ export async function loader({ request }: LoaderFunctionArgs) {return new Response("", {headers: {"Content-Type": "text/css",+ "Cache-Control": "no-store, max-age=0",},});}@@ -22,7 +23,7 @@ export async function loader({ request }: LoaderFunctionArgs) {return new Response(css, {headers: {"Content-Type": "text/css",- "Cache-Control": "s-maxage=1, stale-while-revalidate=3600",+ "Cache-Control": "no-store, max-age=0",},});}diff --git a/apps/mes/public/apple-touch-icon.png b/apps/mes/public/apple-touch-icon.pngdeleted file mode 100644index 4f8712f2c1..0000000000Binary files a/apps/mes/public/apple-touch-icon.png and /dev/null differ