feat(canvas): fix rotation, clarify frame membership and load icons on demand
This commit is contained in:
+9
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user