feat(canvas): fix rotation, clarify frame membership and load icons on demand

This commit is contained in:
2026-11-06 13:56:15 +08:00
parent 77d1b3ec86
commit 83021d0f6c
120 changed files with 817 additions and 100 deletions
+9 -1
View File
@@ -1,3 +1,11 @@
import type { NextConfig } from "next";
const config: NextConfig = { reactStrictMode: true, poweredByHeader: false };
const config: NextConfig = {
reactStrictMode: true, poweredByHeader: false,
async headers() {
return [{
source: "/canvas-icons/:version/:asset([a-z0-9-]+-[a-f0-9]{12}\\.json)",
headers: [{ key: "Cache-Control", value: "public, max-age=31536000, immutable" }],
}];
},
};
export default config;